From 3bfd9de68d7f2691b29c3b04eec46ee9a869b24b Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Thu, 19 Sep 2024 09:18:25 +0100 Subject: [PATCH] Fix: Highscore/Endgame window can disappear offscreen if game window is resized. (#12951) --- src/window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window.cpp b/src/window.cpp index 64c96d16aa..b2b44e114c 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -3462,6 +3462,8 @@ void RelocateAllWindows(int neww, int newh) switch (w->window_class) { case WC_MAIN_WINDOW: case WC_BOOTSTRAP: + case WC_HIGHSCORE: + case WC_ENDSCREEN: ResizeWindow(w, neww, newh); continue;