Skip to content

Commit a9a3c3c

Browse files
Using checkTouchLocked with mute property
1 parent 22154ce commit a9a3c3c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,9 @@ Object.defineProperty(HTML5AudioSound.prototype, 'mute', {
294294
},
295295
set: function (value) {
296296
this.currentConfig.mute = value;
297+
if (this.checkTouchLocked('property', 'mute', value)) {
298+
return;
299+
}
297300
this.setMute();
298301
this.emit('mute', this, value);
299302
}

0 commit comments

Comments
 (0)