mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +00:00
Using checkTouchLocked with stop method
This commit is contained in:
parent
796f3657ac
commit
22154ceace
1 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,9 @@ var HTML5AudioSound = new Class({
|
|||
return true;
|
||||
},
|
||||
stop: function () {
|
||||
if (this.checkTouchLocked('method', 'stop')) {
|
||||
return false;
|
||||
}
|
||||
if (!BaseSound.prototype.stop.call(this)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue