mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 08:33:40 +00:00
Using manager.isLocked instead of removed checkTouchLocked method for detune property
This commit is contained in:
parent
99c9b786c8
commit
216bde9577
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'detune', {
|
|||
},
|
||||
set: function (value) {
|
||||
this.currentConfig.detune = value;
|
||||
if (this.checkTouchLocked('property', 'detune', value)) {
|
||||
if (this.manager.isLocked(this, 'detune', value)) {
|
||||
return;
|
||||
}
|
||||
Object.getOwnPropertyDescriptor(BaseSound.prototype, 'detune').set.call(this, value);
|
||||
|
|
Loading…
Reference in a new issue