-
-
Notifications
You must be signed in to change notification settings - Fork 677
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
Layout is called with wrong height value on Mac OS after disabling fullscreen with green button #1884
Comments
480.movVideo from @IlyaFloppy |
CC @IlyaFloppy Confirmed. I reproduced this issue with these steps:
|
hajimehoshi
added a commit
that referenced
this issue
Nov 27, 2021
…storing from fullscreen u.toChangeSize affects the result of u.updateSize. When the callback for WindowSetSize is invoked, toChangeSize should be true. In order to simplify the logic, we have to remove toChangeSize later. Closes #1884
OK this should be fixed at 2.2 branch |
hajimehoshi
added a commit
that referenced
this issue
Nov 27, 2021
hajimehoshi
added a commit
that referenced
this issue
Nov 27, 2021
I can confirm this issue has been fixed. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #1883
Originally posted by IlyaFloppy November 23, 2021
I am running a game in fullscreen using
ebiten.SetFullscreen(true)
. Layout method is called with width=1919 and height=1200. Then I use green window button to exit fullscreen andLayout
method keeps getting called with the same width and height. The game looks squeezed vertically. After I resize the window dragging the corner it looks normal and width and height change to 1920 and 1073 respectively.The text was updated successfully, but these errors were encountered: