From e37188d168f1a5eec422698b7dacea2c532bc6f1 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Mon, 24 Feb 2014 00:18:12 +0000 Subject: [PATCH] Phaser.Input.Key isUp now defaults to 'true' (#474) --- src/input/Key.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/Key.js b/src/input/Key.js index 11419031..c90f9753 100644 --- a/src/input/Key.js +++ b/src/input/Key.js @@ -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.