mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 14:40:38 +00:00
Renamed loop event to looped for emitting event when sound has looped
This commit is contained in:
parent
846aefd7c1
commit
8b676cf743
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
var Class = require('../../utils/Class');
|
||||
var BaseSound = require('../BaseSound');
|
||||
|
||||
/*!
|
||||
* @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
|
||||
*/
|
||||
|
@ -318,7 +317,7 @@ var WebAudioSound = new Class({
|
|||
rate: this.totalRate
|
||||
});
|
||||
this.createAndStartLoopBufferSource();
|
||||
this.emit('loop', this);
|
||||
this.emit('looped', this);
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue