Commit b3c1211b authored by Tt's avatar Tt

coolCat修改

parent 5dff1197
...@@ -339,6 +339,9 @@ cc.Class({ ...@@ -339,6 +339,9 @@ cc.Class({
const btnCoolCat = cc.find('Canvas/bg/catFrame/BtnCoolCat'); const btnCoolCat = cc.find('Canvas/bg/catFrame/BtnCoolCat');
btnCoolCat.on('click', () => { btnCoolCat.on('click', () => {
if (!this.canTouch) {
return;
}
const cat = cc.find('Canvas/bg/catFrame/CoolCat'); const cat = cc.find('Canvas/bg/catFrame/CoolCat');
const btn = cc.find('Canvas/bg/btnReplay'); const btn = cc.find('Canvas/bg/btnReplay');
if (btn.active) { if (btn.active) {
......
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