mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +00:00
Added touchUnlocked property to HTML5AudioSoundManager class
This commit is contained in:
parent
b9b5489ab3
commit
f52cfee58a
1 changed files with 9 additions and 0 deletions
|
@ -54,6 +54,15 @@ var HTML5AudioSoundManager = new Class({
|
|||
* @property {boolean} touchLocked
|
||||
*/
|
||||
this.touchLocked = 'ontouchstart' in window;
|
||||
/**
|
||||
* Flag used for indicating when the audio has been unlocked,
|
||||
* if there ever was a need for it.
|
||||
*
|
||||
* @private
|
||||
* @type {boolean}
|
||||
* @default false
|
||||
*/
|
||||
this.touchUnlocked = false;
|
||||
/**
|
||||
* Property that actually holds the value of global mute
|
||||
* for HTML5 Audio sound manager implementation.
|
||||
|
|
Loading…
Reference in a new issue