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