mirror of
https://github.com/photonstorm/phaser
synced 2025-03-01 05:47:28 +00:00
Skipping unlocking if touchmove event occurred before touchend event
This commit is contained in:
parent
b036eecd9f
commit
336f5b9028
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ var HTML5AudioSoundManager = new Class({
|
|||
moved = true;
|
||||
};
|
||||
var unlock = function () {
|
||||
if (moved) {
|
||||
moved = false;
|
||||
return;
|
||||
}
|
||||
document.body.removeEventListener('touchend', unlock);
|
||||
var allTags = [];
|
||||
_this.game.cache.audio.entries.each(function (key, tags) {
|
||||
|
|
Loading…
Add table
Reference in a new issue