mirror of https://github.com/OpenTTD/OpenTTD
Fix: Highscore/Endgame window can disappear offscreen if game window is resized. (#12951)
parent
df0233f4c2
commit
3bfd9de68d
|
@ -3462,6 +3462,8 @@ void RelocateAllWindows(int neww, int newh)
|
||||||
switch (w->window_class) {
|
switch (w->window_class) {
|
||||||
case WC_MAIN_WINDOW:
|
case WC_MAIN_WINDOW:
|
||||||
case WC_BOOTSTRAP:
|
case WC_BOOTSTRAP:
|
||||||
|
case WC_HIGHSCORE:
|
||||||
|
case WC_ENDSCREEN:
|
||||||
ResizeWindow(w, neww, newh);
|
ResizeWindow(w, neww, newh);
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue