mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +01:00
committed by
GitHub
parent
e1f7b240da
commit
5e495d63c7
@@ -2262,8 +2262,16 @@ void WindowBase::ResizeFrame()
|
||||
// Title
|
||||
widgets[1].right = width - 2;
|
||||
// Close button
|
||||
widgets[2].left = width - 13;
|
||||
widgets[2].right = width - 3;
|
||||
if (gConfigInterface.WindowButtonsOnTheLeft)
|
||||
{
|
||||
widgets[2].left = 2;
|
||||
widgets[2].right = 2 + CloseButtonWidth;
|
||||
}
|
||||
else
|
||||
{
|
||||
widgets[2].left = width - 3 - CloseButtonWidth;
|
||||
widgets[2].right = width - 3;
|
||||
}
|
||||
}
|
||||
|
||||
void WindowBase::ResizeFrameWithPage()
|
||||
|
||||
Reference in New Issue
Block a user