Using checkTouchLocked with volume property

This commit is contained in:
Pavle Goloskokovic 2018-01-17 17:21:07 +01:00
parent a9a3c3c2a2
commit c2f7795a98

View file

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