Swapped keypress callback order.

This commit is contained in:
photonstorm 2014-05-27 11:32:18 +01:00
parent 9c35dfde0c
commit 8d94b4a91c

View file

@ -377,7 +377,7 @@ Phaser.Keyboard.prototype = {
if (this.onPressCallback)
{
this.onPressCallback.call(this.callbackContext, event, String.fromCharCode(event.charCode));
this.onPressCallback.call(this.callbackContext, String.fromCharCode(event.charCode), event);
}
},