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 rate property
This commit is contained in:
parent
94d7fb7d4f
commit
99c9b786c8
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'rate', {
|
|||
},
|
||||
set: function (value) {
|
||||
this.currentConfig.rate = value;
|
||||
if (this.checkTouchLocked('property', 'rate', value)) {
|
||||
if (this.manager.isLocked(this, 'rate', value)) {
|
||||
return;
|
||||
}
|
||||
Object.getOwnPropertyDescriptor(BaseSound.prototype, 'rate').set.call(this, value);
|
||||
|
|
Loading…
Reference in a new issue