1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-11 01:52:32 +01:00

Update existing windows when toggling 'window buttons on the left' (#24237)

This commit is contained in:
Aaron van Geffen
2025-04-18 17:24:33 +02:00
committed by GitHub
parent 7912a97ffe
commit 9f5c675bc9

View File

@@ -1612,6 +1612,7 @@ namespace OpenRCT2::Ui::Windows
Config::Save(); Config::Save();
Invalidate(); Invalidate();
windowMgr->InvalidateAll(); windowMgr->InvalidateAll();
WindowVisitEach([](WindowBase* w) { w->ResizeFrame(); });
break; break;
case WIDX_ENLARGED_UI: case WIDX_ENLARGED_UI:
Config::Get().interface.EnlargedUi ^= 1; Config::Get().interface.EnlargedUi ^= 1;