mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Dispatching event when sound detune value changes
This commit is contained in:
parent
de8919645a
commit
dc796465b7
1 changed files with 1 additions and 0 deletions
|
@ -377,6 +377,7 @@ Object.defineProperty(WebAudioSound.prototype, 'detune', {
|
|||
set: function (value) {
|
||||
this.currentConfig.detune = value;
|
||||
this.setRate();
|
||||
this.events.dispatch(new SoundValueEvent(this, 'SOUND_DETUNE', value));
|
||||
}
|
||||
});
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue