This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
phaser
Watch
2
Star
0
Fork
You've already forked phaser
0
mirror of
https://github.com/photonstorm/phaser
synced
2024-12-25 12:33:38 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
7c74b77fc0
phaser
/
src
/
scale
History
Richard Davey
380cc422b2
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.
2020-08-04 10:35:29 +01:00
..
const
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
events
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
index.js
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
ScaleManager.js
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.
2020-08-04 10:35:29 +01:00