Commit 3d97bafe authored by huoshizhe's avatar huoshizhe

feat: 隐藏restart按钮

parent a716cdba
...@@ -1656,6 +1656,7 @@ cc.Class({ ...@@ -1656,6 +1656,7 @@ cc.Class({
showRestart() { showRestart() {
const btn = getSprNode("btn_restart"); const btn = getSprNode("btn_restart");
btn.active = false;
btn.scale = this._mapScaleMin; btn.scale = this._mapScaleMin;
btn.baseS = btn.scale; btn.baseS = btn.scale;
this.canvas.addChild(btn, 21); this.canvas.addChild(btn, 21);
......
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