1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 23:33:04 +01:00

Fix #21289: Map window does not layout properly

This commit is contained in:
Michael Bernardi
2024-02-25 23:18:38 +01:00
parent 7797db10c8
commit 1cb0650cba
6 changed files with 62 additions and 16 deletions

View File

@@ -156,6 +156,11 @@ void WindowUpdateAll()
windowManager->UpdateMouseWheel();
}
void WindowNotifyLanguageChange()
{
WindowVisitEach([&](WindowBase* w) { w->OnLanguageChange(); });
}
static void WindowCloseSurplus(int32_t cap, WindowClass avoid_classification)
{
// find the amount of windows that are currently open