Commit 92aaf910 authored by 李维's avatar 李维

修复重做时要多点击一下的问题

parent 897f2241
...@@ -403,6 +403,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -403,6 +403,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
replayBtn.on("click", async ()=>{ replayBtn.on("click", async ()=>{
await showDefaultBtn(); await showDefaultBtn();
// 隐藏掉背景
actionBtnMaskBg.active = false;
this.replay(); this.replay();
}) })
......
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