Using checkTouchLocked with mute property

This commit is contained in:
Pavle Goloskokovic 2018-01-17 17:20:44 +01:00
parent 22154ceace
commit a9a3c3c2a2

View file

@ -294,6 +294,9 @@ Object.defineProperty(HTML5AudioSound.prototype, 'mute', {
},
set: function (value) {
this.currentConfig.mute = value;
if (this.checkTouchLocked('property', 'mute', value)) {
return;
}
this.setMute();
this.emit('mute', this, value);
}