mirror of
https://github.com/wassname/phaser.git
synced 2026-07-11 00:40:20 +08:00
Vastly improved visibility API support + pageshow/pagehide + focus/blur. Working across Chrome, IE, Firefox, iOS, Android (also fixes #161)
This commit is contained in:
@@ -71,7 +71,7 @@ Phaser.Keyboard = function (game) {
|
||||
Phaser.Keyboard.prototype = {
|
||||
|
||||
/**
|
||||
* Add callbacks to the Keyboard handler so that each time a key is pressed down or releases the callbacks are activated.
|
||||
* Add callbacks to the Keyboard handler so that each time a key is pressed down or released the callbacks are activated.
|
||||
*
|
||||
* @method Phaser.Keyboard#addCallbacks
|
||||
* @param {Object} context - The context under which the callbacks are run.
|
||||
|
||||
Reference in New Issue
Block a user