We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaee738 commit 92669f3Copy full SHA for 92669f3
1 file changed
src/sound/html5/HTML5AudioSoundManager.js
@@ -170,6 +170,13 @@ var HTML5AudioSoundManager = new Class({
170
}
171
});
172
},
173
+ /**
174
+ * Method used internally for resuming sound manager if
175
+ * Phaser.Sound.HTML5AudioSoundManager#pauseOnBlur is set to true.
176
+ *
177
+ * @protected
178
+ * @method Phaser.Sound.HTML5AudioSoundManager#onFocus
179
+ */
180
onFocus: function () {
181
this.onBlurPausedSounds.forEach(function (sound) {
182
sound.onFocus();
0 commit comments