Skip to content

Commit b64c85c

Browse files
committed
Update CHANGELOG.md
1 parent 380cc42 commit b64c85c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ If you used any of them in your code, please update to the new function names be
160160
* `TransformMatrix.getYRound` is a new method that will return the Y component, optionally passed via `Math.round`.
161161
* The `KeyboardPlugin` no longer emits `keydown_` events. These were replaced with `keydown-` events in v3.15. The previous event string was deprecated in v3.20.
162162
* The `KeyboardPlugin` no longer emits `keyup_` events. These were replaced with `keyup-` events in v3.15. The previous event string was deprecated in v3.20.
163+
* The `ScaleManager.updateBounds` method is now called every time the browser fires a 'resize' or 'orientationchange' event. This will update the offset of the canvas element Phaser is rendering to, which is responsible for keeping input positions correct. However, if you change the canvas position, or visibility, via any other method (i.e. via an Angular route) you should call the `updateBounds` method directly, yourself.
163164

164165
### Bug Fixes
165166

0 commit comments

Comments
 (0)