mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
GetAdvancedValue
now uses the correct Math RND reference, which means anything that used the randInt
or randFloat
features of this function, such as creating a Sprite from a Config object, or Bitmap Text sizing, will no longer throw an error about a null object reference. Fix #4369
This commit is contained in:
parent
06f966e3b0
commit
84c24862cf
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
|||
### Bug Fixes
|
||||
|
||||
* The parent bounds are reset when exiting fullscreen mode in the Scale Manager. This fixes an issue when leaving fullscreen mode by pressing ESC (instead of programmatically) would leave the canvas in the full screen size. Fix #4357 (thanks @khutchins and @HeyStevenXu)
|
||||
* `GetAdvancedValue` now uses the correct Math RND reference, which means anything that used the `randInt` or `randFloat` features of this function, such as creating a Sprite from a Config object, or Bitmap Text sizing, will no longer throw an error about a null object reference. Fix #4369 (thanks @sanadov)
|
||||
|
||||
### Examples, Documentation and TypeScript
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
||||
var MATH = require('../../math/const');
|
||||
var MATH = require('../../math');
|
||||
var GetValue = require('./GetValue');
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue