Using manager.isLocked instead of removed checkTouchLocked method for volume property

This commit is contained in:
Pavle Goloskokovic 2018-01-17 19:14:18 +01:00
parent 941b4f5ac8
commit 94d7fb7d4f

View file

@ -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();