Skip to content

Commit 967fc60

Browse files
Added onBlur method docs
1 parent 5990ed3 commit 967fc60

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSoundManager.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ var WebAudioSoundManager = new Class({
100100
document.body.addEventListener('touchend', unlock_1, false);
101101
}
102102
},
103+
/**
104+
* @protected
105+
* @method Phaser.Sound.WebAudioSoundManager#onBlur
106+
*/
103107
onBlur: function () {
104108
this.context.suspend();
105109
},

0 commit comments

Comments
 (0)