Commit 08544bf8 authored by zjz1994's avatar zjz1994

关卡遮挡设置按钮问题

parent b268c5a3
......@@ -8,6 +8,7 @@
<e:Image y="199.5" source="targetBoard_png" x="174"/>
<e:Image y="-47.5" source="progressDown_png" horizontalCenter="0"/>
<e:Image id="starProgress" x="138" y="159.35" source="starProgress_png"/>
<e:Group id="chaptergro" width="750" height="200"/>
<e:Image x="69" y="-64.5" source="stepsBoard_png"/>
<e:Image x="171.5" y="166.35" source="dangqianfenshu_png"/>
......
......@@ -402,7 +402,7 @@ export default class MainScene extends Scene {
this.chapterTxt.num = '0' // >> 0;
this.chapterTxt.x = 520;
this.chapterTxt.y = 97.5;
this.addChild(this.chapterTxt);
//步数
this.stepNumber = new StepNumber();
this.stepNumber.x = 175;
......@@ -487,6 +487,10 @@ export default class MainScene extends Scene {
this.guideContainer.removeChildren();
this.festivalContainer.removeChildren();
this.wormholeContainer.removeChildren();
if(!this.chapterTxt.parent){
this['chaptergro'].addChild(this.chapterTxt);
}
}
async start(data) {
super.start();
......
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