Commit 753775d3 authored by liujiaxin's avatar liujiaxin

change this

parent f1e712d9
...@@ -266,7 +266,7 @@ cc.Class({ ...@@ -266,7 +266,7 @@ cc.Class({
// this.buttonGroupChange(this.modeNameMap[this.getCurrentMode()]) // this.buttonGroupChange(this.modeNameMap[this.getCurrentMode()])
}); });
cc.director.on('GAME_DATA_FETCHED', (data) => { cc.director.on('GAME_DATA_FETCHED', function(data) {
if (data.title) { if (data.title) {
this.titleLable.string = data.title; this.titleLable.string = data.title;
setTimeout(() => { setTimeout(() => {
...@@ -300,7 +300,7 @@ cc.Class({ ...@@ -300,7 +300,7 @@ cc.Class({
// this.node.zIndex = 9999 // this.node.zIndex = 9999
window.dispatchEvent(new CustomEvent('resize'), true) window.dispatchEvent(new CustomEvent('resize'), true)
// window.dispatchEvent(new cc.Event.EventCustom('resize', true)) // window.dispatchEvent(new cc.Event.EventCustom('resize', true))
}); }, this);
cc.director.on('GAME_VIEW_DISPLAYED', () => { cc.director.on('GAME_VIEW_DISPLAYED', () => {
// this.karaoke.prepare(); // this.karaoke.prepare();
}); });
......
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