New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXPAND falls back to config width and height when changing scenes #6767
Labels
Comments
I got this error message about rendering
Only when I open console (in chrome browser, win10, phaser3.80.0 and phaser3.80.1). It works fine if I do not open console. FIT scale mode does not have this error message when console opened. |
I try to log the camera width and height.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Description
When using the new
EXPAND
scale mode after changing scenes from A to B and back to A usingscene.start
theEXPAND
effect wears off and the scene is resized to config width and height.Example Test Code
https://codepen.io/calcue/pen/eYozRjP
Additional Information
I couldn't find a lot of documentation for this feature but can find other scale modes. Maybe I'm looking in the wrong place.
https://newdocs.phaser.io/docs/3.80.0/Phaser.Scale
The text was updated successfully, but these errors were encountered: