mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Swapped keypress callback order.
This commit is contained in:
parent
9c35dfde0c
commit
8d94b4a91c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue