Commit c0b1cecc authored by jeff's avatar jeff

更新显示

parent e1080a3d
......@@ -15,6 +15,7 @@ cc.Class({
this._totoalTime = null
this._nowTime = null
this._pause = false
this.node.active = false
},
onEnable() {
cc.systemEvent.on('stopBgMusic', this.onEvent, this)
......@@ -47,6 +48,7 @@ cc.Class({
this.tiao.children[0].getComponent(cc.Sprite).fillRange = 0
this.tiao.children[1].x = 12
this.onAudioFinish()
this.node.active = true
})
},
......
......@@ -2521,7 +2521,7 @@
"y": 0
},
"_fillStart": 0,
"_fillRange": 1,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "22ejznEcFGuYZA5G0//V6z"
......
......@@ -294,7 +294,6 @@ cc.Class({
let url = data.bgItem.bgAudioUrl
if (url && url != '') {
this.bgAudioNode.active = true
this.bgAudioNode.getComponent('audioItem').init(url)
} else {
this.bgAudioNode.active = false
......
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