forked from rosebudai/OpenRCT2-Web
Move widget constants from Windows.h to Widget.h
This commit is contained in:
1 parent
738471ff84
commit
96ce7f706f
6 files changed
+26
-23
No files matched your search
@@ -1849,11 +1849,11 @@ void WindowBase::ResizeFrame()
|
||||
if (Config::Get().interface.WindowButtonsOnTheLeft)
|
||||
{
|
||||
widgets[2].left = 2;
|
||||
widgets[2].right = 2 + CloseButtonWidth;
|
||||
widgets[2].right = 2 + kCloseButtonWidth;
|
||||
}
|
||||
else
|
||||
{
|
||||
widgets[2].left = width - 3 - CloseButtonWidth;
|
||||
widgets[2].left = width - 3 - kCloseButtonWidth;
|
||||
widgets[2].right = width - 3;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user