Using checkTouchLocked with loop property

This commit is contained in:
Pavle Goloskokovic 2018-01-17 17:25:43 +01:00
parent 33bc3d8d5c
commit 84a20395e6

View file

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