mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Added a TODO to change loop event to looped and emit loop event when loop value changes
This commit is contained in:
parent
919d2d658a
commit
4b9c94ebbe
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ var HTML5AudioSound = new Class({
|
|||
currentTime = this.audio.currentTime;
|
||||
}
|
||||
if (currentTime < this.previousTime) {
|
||||
// TODO rename to looped and add loop for changing loop value
|
||||
this.emit('loop', this);
|
||||
}
|
||||
this.previousTime = currentTime;
|
||||
|
|
Loading…
Reference in a new issue