1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +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();
Invalidate();
windowMgr->InvalidateAll();
WindowVisitEach([](WindowBase* w) { w->ResizeFrame(); });
break;
case WIDX_ENLARGED_UI:
Config::Get().interface.EnlargedUi ^= 1;