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 mute property
This commit is contained in:
parent
4b6287c4cd
commit
941b4f5ac8
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'mute', {
|
||||||
},
|
},
|
||||||
set: function (value) {
|
set: function (value) {
|
||||||
this.currentConfig.mute = value;
|
this.currentConfig.mute = value;
|
||||||
if (this.checkTouchLocked('property', 'mute', value)) {
|
if (this.manager.isLocked(this, 'mute', value)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.setMute();
|
this.setMute();
|
||||||
|
|
Loading…
Reference in a new issue