mirror of
https://github.com/wassname/phaser.git
synced 2026-07-05 17:30:19 +08:00
Phaser.Input.Key isUp now defaults to 'true' (#474)
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ Phaser.Key = function (game, keycode) {
|
||||
* @property {boolean} isUp - The "up" state of the key.
|
||||
* @default
|
||||
*/
|
||||
this.isUp = false;
|
||||
this.isUp = true;
|
||||
|
||||
/**
|
||||
* @property {boolean} altKey - The down state of the ALT key, if pressed at the same time as this key.
|
||||
|
||||
Reference in New Issue
Block a user