mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Emitting loop event when sound loop setting value changes
This commit is contained in:
parent
8b676cf743
commit
9a4811df32
1 changed files with 1 additions and 0 deletions
|
@ -485,6 +485,7 @@ Object.defineProperty(WebAudioSound.prototype, 'loop', {
|
|||
this.createAndStartLoopBufferSource();
|
||||
}
|
||||
}
|
||||
this.emit('loop', this, value);
|
||||
}
|
||||
});
|
||||
module.exports = WebAudioSound;
|
||||
|
|
Loading…
Reference in a new issue