Commit 63b6eb03 authored by limingzhe's avatar limingzhe

fix: debug

parent ab168d8c
...@@ -1648,6 +1648,7 @@ cc.Class({ ...@@ -1648,6 +1648,7 @@ cc.Class({
this.videoEndTime = item.endTime; this.videoEndTime = item.endTime;
this.isMute = true; this.isMute = true;
delayCall(0.1, () => { delayCall(0.1, () => {
this.playVideo(); this.playVideo();
this.playSubUserRecord(item); this.playSubUserRecord(item);
...@@ -1680,6 +1681,8 @@ cc.Class({ ...@@ -1680,6 +1681,8 @@ cc.Class({
const cw = window?.courseware const cw = window?.courseware
if (cw) { if (cw) {
cw.startTest(text); cw.startTest(text);
this.canTouch = false;
} }
this.addMask(); this.addMask();
}, },
...@@ -1692,7 +1695,7 @@ cc.Class({ ...@@ -1692,7 +1695,7 @@ cc.Class({
const node = new cc.Node(); const node = new cc.Node();
node.width = this.canvas.width; node.width = this.canvas.width;
node.height = this.canvas.height; node.height = this.canvas.height;
this.canvas.addChild(node, 100); this.canvas.addChild(node, 200);
node.addComponent(cc.BlockInputEvents); node.addComponent(cc.BlockInputEvents);
this.maskNode = node; this.maskNode = node;
...@@ -1706,6 +1709,7 @@ cc.Class({ ...@@ -1706,6 +1709,7 @@ cc.Class({
return; return;
} }
this.maskNode.active = false; this.maskNode.active = false;
this.canTouch = true;
}, },
......
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