mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 08:33:40 +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) {
|
||||
if (this.checkTouchLocked('property', 'seek', value)) {
|
||||
return;
|
||||
}
|
||||
if (this.startTime > 0) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue