Commit d5a8d729 authored by asdf's avatar asdf

结束之后不会弹welldone的bug

parent ec126db5
......@@ -19,6 +19,11 @@ cc.Class({
this.initNodes();
this.initSceneData();
this.initSize();
window.addEventListener('onblur', function (e) {
console.log('onblur');
});
},
initNodes() {
this.layerTrain = this.layerCoach.parent;
......@@ -211,7 +216,6 @@ cc.Class({
initData() {
// 所有全局变量 默认都是null
this.initRightChoose();
},
initRightChoose() {
......@@ -255,6 +259,7 @@ cc.Class({
},
playAudioTrain() {
this.initRightChoose();
window.isPlayEnter = false;
this.tTween && this.tTween.stop();
this.tTween = cc.tween(this.layerTrain)
......
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