Added touchUnlocked property to HTML5AudioSoundManager class

This commit is contained in:
Pavle Goloskokovic 2018-01-17 17:27:59 +01:00
parent b9b5489ab3
commit f52cfee58a

View file

@ -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.