Move widget constants from Windows.h to Widget.h

This commit is contained in:
Aaron van Geffen committed 2024-05-10 22:14:10 +02:00
1 parent 738471ff84
commit 96ce7f706f
6 files changed
+26 -23

No files matched your search

+2 -2
View File
@@ -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;
}
}