Dispatching event when calling resume method

This commit is contained in:
Pavle Goloskokovic 2018-01-03 21:20:22 +01:00
parent fbc7264d4c
commit 99accdbbd0

View file

@ -132,6 +132,7 @@ var WebAudioSound = new Class({
}
// \/\/\/ isPlaying = true, isPaused = false \/\/\/
this.createAndStartBufferSource();
this.events.dispatch(new SoundEvent(this, 'SOUND_RESUME'));
return true;
},
stop: function () {