Removed touchLocked property form HTML5AudioSoundManager class

This commit is contained in:
Pavle Goloskokovic 2018-01-17 18:15:50 +01:00
parent c6c3f1da79
commit 6b1b7a1342

View file

@ -46,14 +46,6 @@ var HTML5AudioSoundManager = new Class({
* @default [] * @default []
*/ */
this.onBlurPausedSounds = []; this.onBlurPausedSounds = [];
/**
* HTML5 Audio streams cannot be loaded unless triggered by explicit user interaction, such as a tap.
* True if the audio system is currently locked awaiting user interaction.
*
* @private
* @property {boolean} touchLocked
*/
this.touchLocked = 'ontouchstart' in window;
/** /**
* Flag used for indicating when the audio has been unlocked, * Flag used for indicating when the audio has been unlocked,
* if there ever was a need for it. * if there ever was a need for it.