You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exiting fullscreen mode using 'ESC', I expect that the Phaser game window will be restored to its previous size. Instead, it appears to be keeping its fullscreen size but in windowed mode.
Perhaps this could be fixed by changing the canvas to default size when the exit full screen event is captured. document.addEventListener('fullscreenchange', exitHandler); document.addEventListener('webkitfullscreenchange', exitHandler); document.addEventListener('mozfullscreenchange', exitHandler); document.addEventListener('MSFullscreenChange', exitHandler);
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
When exiting fullscreen mode using 'ESC', I expect that the Phaser game window will be restored to its previous size. Instead, it appears to be keeping its fullscreen size but in windowed mode.
Example Test Code
https://codepen.io/anon/pen/XOqMVP
To reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: