Commit 13dae293 authored by yu's avatar yu

1

parent 9db2a3fa
...@@ -120,6 +120,10 @@ export default class LayerRecord extends cc.Component { ...@@ -120,6 +120,10 @@ export default class LayerRecord extends cc.Component {
this.schedule(this.playVoiceRunning, 0.3) this.schedule(this.playVoiceRunning, 0.3)
} }
playVoiceRunning() { playVoiceRunning() {
if (this.layout_record) {
this.unschedule(this.playVoiceRunning)
return;
}
this.playVoiceCount++; this.playVoiceCount++;
let btn_play = pg.view.find(this.layout_record, 'btn_play'); let btn_play = pg.view.find(this.layout_record, 'btn_play');
let p0 = btn_play.getChildByName('p0') let p0 = btn_play.getChildByName('p0')
......
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