Skip to content

Commit 216bde9

Browse files
Using manager.isLocked instead of removed checkTouchLocked method for detune property
1 parent 99c9b78 commit 216bde9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'detune', {
322322
},
323323
set: function (value) {
324324
this.currentConfig.detune = value;
325-
if (this.checkTouchLocked('property', 'detune', value)) {
325+
if (this.manager.isLocked(this, 'detune', value)) {
326326
return;
327327
}
328328
Object.getOwnPropertyDescriptor(BaseSound.prototype, 'detune').set.call(this, value);

0 commit comments

Comments
 (0)