mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +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) {
|
set: function (value) {
|
||||||
this.currentConfig.detune = value;
|
this.currentConfig.detune = value;
|
||||||
if (this.checkTouchLocked('property', 'detune', value)) {
|
if (this.manager.isLocked(this, 'detune', value)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Object.getOwnPropertyDescriptor(BaseSound.prototype, 'detune').set.call(this, value);
|
Object.getOwnPropertyDescriptor(BaseSound.prototype, 'detune').set.call(this, value);
|
||||||
|
|
Loading…
Reference in a new issue