mirror of
https://github.com/photonstorm/phaser
synced 2025-01-05 17:58:48 +00:00
Using checkTouchLocked with seek property
This commit is contained in:
parent
874b3d5bc1
commit
33bc3d8d5c
1 changed files with 3 additions and 0 deletions
|
@ -376,6 +376,9 @@ Object.defineProperty(HTML5AudioSound.prototype, 'seek', {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
set: function (value) {
|
set: function (value) {
|
||||||
|
if (this.checkTouchLocked('property', 'seek', value)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.startTime > 0) {
|
if (this.startTime > 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue