Commit 2b5aae82 authored by Guo Yuhang's avatar Guo Yuhang

hiden restart btn

Signed-off-by: Guo Yuhang's avatar郭宇航 <guoyuhang@iplayabc.com>
parent b2ae07d0
...@@ -333,6 +333,7 @@ var game = cc.Class({ ...@@ -333,6 +333,7 @@ var game = cc.Class({
}, },
showRestartBtn() { showRestartBtn() {
return;
this.btnReStart.active = true; this.btnReStart.active = true;
cc.tween(this.nodCircle) cc.tween(this.nodCircle)
.set({ scale: 0.8, opacity: 255 }) .set({ scale: 0.8, opacity: 255 })
...@@ -343,6 +344,7 @@ var game = cc.Class({ ...@@ -343,6 +344,7 @@ var game = cc.Class({
}, },
hideRestartBtn() { hideRestartBtn() {
return;
this.nodCircle.stopAllActions(); this.nodCircle.stopAllActions();
this.nodCircle.scale = 0.8; this.nodCircle.scale = 0.8;
this.nodCircle.opacity = 255; this.nodCircle.opacity = 255;
......
This diff is collapsed.
This diff is collapsed.
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