Layout is called with wrong height value on Mac OS after disabling fullscreen with green button #1883
Unanswered
IlyaFloppy
asked this question in
Q&A
Replies: 1 comment
-
The a-little-smaller width for fullscreen is intentional to avoid a mysterious FPS drop. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.Beta Was this translation helpful? Give feedback.
All reactions