Fix window sizing when "Show Title Bar" is enabled #247
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "window_sizing_fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes a bug that causes the main window to not size properly when the TitleBar is enabled (i.e.: when the TitleBar and MenuStrip are separate entities). Corrects the size for main window startup and when a user clicks a "View > Window Size > Resolution Here" MenuStripItem
Prior to this fix if a user selects 720p/1080p and "Show Title Bar" is enabled, the window would be sized smaller than intended and display black bars on the sides of the render area
Fixes a window height calculation issue
make this
resolutionWidth
&resolutionHeight
, respectivelymake this
windowWidthScaled
andwindowHeightScaled
, respectivelyDownload the artifacts for this pull request:
GUI-less (SDL2)
Only for Developers