ADD and SUBTRACT added

This commit is contained in:
Richard Davey 2019-11-18 17:09:30 +00:00
parent 50d9931c11
commit 1e20ad706e
2 changed files with 20 additions and 3 deletions

View file

@ -15,6 +15,8 @@
* Videos can now be loaded from a data URI, allowing for base64 encoded videos to be used in the Loader instead of file based ones. Although, as with all base64 encoded data, we strongly recommend against this (thanks @apasov)
* `Math.MIN_SAFE_INTEGER` is a new math const that stores the minimum safe integer for browsers that don't provide this, such as IE (thanks @jronn)
* `Math.MAX_SAFE_INTEGER` is a new math const that stores the maximum safe integer for browsers that don't provide this, such as IE (thanks @jronn)
* `KeyCodes.NUMPAD_ADD` has been added to the keycodes list (thanks @Martin-Antonov)
* `KeyCodes.NUMPAD_SUBTRACT` has been added to the keycodes list (thanks @Martin-Antonov)
### Updates
@ -45,9 +47,6 @@ My thanks to the following for helping with the Phaser 3 Examples, Docs and Type
@samme (for contributing loads of new Arcade Physics examples) @dranitski @jcyuan @RollinSafary @ilyaryabchinski
## Version 3.20.1 - Fitoria - 15th October 2019
### Updates

View file

@ -383,6 +383,24 @@ var KeyCodes = {
*/
NUMPAD_NINE: 105,
/**
* The Numpad Addition (+) key.
*
* @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_ADD
* @type {integer}
* @since 3.21.0
*/
NUMPAD_ADD: 107,
/**
* The Numpad Subtraction (-) key.
*
* @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_SUBTRACT
* @type {integer}
* @since 3.21.0
*/
NUMPAD_SUBTRACT: 109,
/**
* The A key.
*