mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Dispatching event when calling stop method
This commit is contained in:
parent
99accdbbd0
commit
3356fc2d92
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ var WebAudioSound = new Class({
|
||||||
}
|
}
|
||||||
// \/\/\/ isPlaying = false, isPaused = false \/\/\/
|
// \/\/\/ isPlaying = false, isPaused = false \/\/\/
|
||||||
this.stopAndRemoveBufferSource();
|
this.stopAndRemoveBufferSource();
|
||||||
|
this.events.dispatch(new SoundEvent(this, 'SOUND_STOP'));
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue