mirror of
https://github.com/wassname/phaser.git
synced 2026-09-10 12:29:30 +08:00
Updated IE11 check, forces IE11 to use Canvas renderer even in AUTO mode.
This commit is contained in:
@@ -358,7 +358,7 @@ Phaser.Keyboard.prototype = {
|
||||
|
||||
/**
|
||||
* Returns the "just released" state of the Key. Just released is considered as being true if the key was released within the duration given (default 250ms)
|
||||
* @method Phaser.Keyboard#justPressed
|
||||
* @method Phaser.Keyboard#justReleased
|
||||
* @param {number} keycode - The keycode of the key to remove, i.e. Phaser.Keyboard.UP or Phaser.Keyboard.SPACE_BAR
|
||||
* @param {number} [duration=250] - The duration below which the key is considered as being just released.
|
||||
* @return {boolean} True if the key is just released otherwise false.
|
||||
|
||||
Reference in New Issue
Block a user