You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/input/Key.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ Phaser.Key.prototype = {
216
216
},
217
217
218
218
/**
219
-
* Returns the "just pressed" state of the Key. Just pressed is considered true if the key was pressed down within the duration given (default 250ms)
219
+
* Returns the "just pressed" state of the Key. Just pressed is considered true if the key was pressed down within the duration given.
220
220
* @method Phaser.Key#justPressed
221
221
* @param {number} [duration=50] - The duration below which the key is considered as being just pressed.
222
222
* @return {boolean} True if the key is just pressed otherwise false.
@@ -230,7 +230,7 @@ Phaser.Key.prototype = {
230
230
},
231
231
232
232
/**
233
-
* 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)
233
+
* Returns the "just released" state of the Key. Just released is considered as being true if the key was released within the duration given.
234
234
* @method Phaser.Key#justReleased
235
235
* @param {number} [duration=50] - The duration below which the key is considered as being just released.
236
236
* @return {boolean} True if the key is just released otherwise false.
0 commit comments