Commit 957263b0 authored by 李维's avatar 李维

修复Mask类型错误

parent 8ed61a1c
...@@ -642,7 +642,7 @@ export default class VideoPlayerComponent extends cc.Component { ...@@ -642,7 +642,7 @@ export default class VideoPlayerComponent extends cc.Component {
this.videoPlayer.node.y = videoContainer.y; this.videoPlayer.node.y = videoContainer.y;
const maskCom = videoContainer.getComponent(cc.Mask); const maskCom = videoContainer.getComponent(cc.Mask);
maskCom.type = cc.Mask.Type.ELLIPSE; maskCom.type = cc.Mask.Type.IMAGE_STENCIL;
cc.find(`Canvas/videolist`).active = this.data.dataArr.length>1; cc.find(`Canvas/videolist`).active = this.data.dataArr.length>1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment