Commit 5ba9c7e6 authored by limingzhe's avatar limingzhe

add syncPage

parent 62edde1c
......@@ -997,11 +997,7 @@ export class PlayComponent implements OnInit, OnDestroy {
if (!this.isGaming) {
return;
}
if (!this.canTouch) {
return;
}
this.canTouch = false;
if (this.teacherPage.visible) {
if (this.checkClickTarget(this.arrowL)) {
......@@ -1015,6 +1011,14 @@ export class PlayComponent implements OnInit, OnDestroy {
return;
}
if (!this.canTouch) {
return;
}
this.canTouch = false;
for (let i = 0; i < this.hotZoneArr.length; i++) {
if (this.checkClickTarget(this.hotZoneArr[i])) {
this.clickHotZone(i);
......
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