Phaser.Input.Key isUp now defaults to 'true' (#474)

This commit is contained in:
photonstorm
2014-02-24 00:18:12 +00:00
parent a6d77d00a0
commit e37188d168
+1 -1
View File
@@ -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.