Resizing windowed mode breaks UI
PatrickDahlin opened this issue · 0 comments
Issue description
Start game in windowed mode, then resize the window. You'll notice the mouse input position is offset and in some cases parts of the window is outside the framebuffer and itsnt updated.
I am using 120% scaling of UI in this
I may note that this issue can softlock me from pressing certain ui buttons unless I find the right window size where the buttons align somewhat, and as such is a quite important bug to fix imo.
Reproduction steps
Open game and start any save while in windowed mode. Resize window to a different aspect ratio.
Game version and build number
0.6.4d (b343)
Operating system
Windows
Attachments
Gif showing the cursor offset: https://imgur.com/a/YHy5TsF
Note how the bottom and right side of the window has "transparent" parts, which are areas outside of the framebuffer for some reason and arent rendered (maybe this mismatching size is what causes the cursor position mismatch?)