Commit 0ceed004 authored by 李维's avatar 李维

bugfix

parent 1f12e7aa
...@@ -591,9 +591,8 @@ export default class VideoPlayerComponent extends cc.Component { ...@@ -591,9 +591,8 @@ export default class VideoPlayerComponent extends cc.Component {
videoContainer.y = 0; videoContainer.y = 0;
const maskCom = videoContainer.getComponent(cc.Mask); const maskCom = videoContainer.getComponent(cc.Mask);
maskCom.type = cc.Mask.Type.RECT;
this.maskSFSaved = maskCom.spriteFrame; this.maskSFSaved = maskCom.spriteFrame;
maskCom.type = cc.Mask.Type.RECT;
cc.find(`Canvas/videolist`).active = false; cc.find(`Canvas/videolist`).active = false;
const controls = cc.find(`Canvas/Controls`); const controls = cc.find(`Canvas/Controls`);
......
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