Fixed an issue in Text. Fixed the background color issue with Canvas games. Updated the Examples viewer so the side-by-side focuses the iframe now. Added new "Extend Group" example.

This commit is contained in:
photonstorm
2013-11-25 13:12:03 +00:00
parent 299115ca5d
commit 06a17b4b26
11 changed files with 9984 additions and 9280 deletions
+4 -4
View File
@@ -160,8 +160,8 @@ Phaser.Keyboard.prototype = {
return _this.processKeyUp(event);
};
document.body.addEventListener('keydown', this._onKeyDown, false);
document.body.addEventListener('keyup', this._onKeyUp, false);
window.addEventListener('keydown', this._onKeyDown, false);
window.addEventListener('keyup', this._onKeyUp, false);
},
@@ -172,8 +172,8 @@ Phaser.Keyboard.prototype = {
*/
stop: function () {
document.body.removeEventListener('keydown', this._onKeyDown);
document.body.removeEventListener('keyup', this._onKeyUp);
window.removeEventListener('keydown', this._onKeyDown);
window.removeEventListener('keyup', this._onKeyUp);
},