mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
b5d4c834b8
Before this change, setWindowSize converts the size in device- independent pixels once, invokes adjustWindowSizeBasedOnSizeLimitsInDP, and then restore the values in device-dependent pixels. This might introduce a slight error and then SetSize be unexpectedly invoked. Such SetSize call with a slightly different size might not invoke the FramebufferSize callback, and then this blocked forever when maximizing the window. This change fixes this by adjusting the size limits instead of the window size so that the window size is not modified unexpectedly. Closes #1577 |
||
---|---|---|
.. | ||
graphics_darwin.go | ||
graphics_opengl.go | ||
hideconsole_notwindows.go | ||
hideconsole_windows.go | ||
input.go | ||
keys.go | ||
run_notsinglethread.go | ||
run_singlethread.go | ||
ui_darwin.go | ||
ui_unix.go | ||
ui_windows.go | ||
ui.go | ||
window.go |