You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -63,7 +64,7 @@ var ValueToColor = require('../display/color/ValueToColor');
63
64
* @typedef {object} KeyboardInputConfig
64
65
*
65
66
* @property {*} [target=window] - Where the Keyboard Manager listens for keyboard input events.
66
-
* @property {boolean} [capture=true] - Whether keyboard input events have `preventDefault` called on them automatically.
67
+
* @property {(boolean|integer[])} [capture] - `preventDefault` will be called on every non-modified key which has a key code in this array. By default, it's set to all the space key, cursors and all alphanumeric keys. Or, set to 'false' to disable.
* @const {boolean} Phaser.Boot.Config#inputKeyboardCapture - Should `preventDefault` be called automatically on every key non-modified press (true), or let each Key object set it (false)
419
+
* @const {(boolean|integer[])} Phaser.Boot.Config#inputKeyboardCapture - `preventDefault` will be called on every non-modified key which has a key code in this array. By default, it's set to all alphanumeric keys. Or, set to 'false' to disable.
* @const {(boolean|object)} Phaser.Boot.Config#inputMouse - Enable the Mouse Plugin. This can be disabled in games that don't need mouse input.
@@ -575,7 +588,7 @@ var Config = new Class({
575
588
varbgc=GetValue(config,'backgroundColor',0);
576
589
577
590
/**
578
-
* @const {Phaser.Display.Color} Phaser.Boot.Config#backgroundColor - The background color of the game canvas. The default is black.
591
+
* @const {Phaser.Display.Color} Phaser.Boot.Config#backgroundColor - The background color of the game canvas. The default is black. This value is ignored if `transparent` is set to `true`.
0 commit comments