Reset resize widget's top position properly when invalidating.

This commit is contained in:
Aaron van Geffen 2018-01-10 17:43:54 +01:00
parent 4d219c3abe
commit 81398d9225
1 changed files with 1 additions and 0 deletions

View File

@ -598,6 +598,7 @@ static void window_loadsave_invalidate(rct_window *w)
window_loadsave_widgets[WIDX_CLOSE].right = w->width - 3;
window_loadsave_widgets[WIDX_BACKGROUND].right = w->width - 1;
window_loadsave_widgets[WIDX_BACKGROUND].bottom = w->height - 1;
window_loadsave_widgets[WIDX_RESIZE].top = w->height - 1;
window_loadsave_widgets[WIDX_RESIZE].right = w->width - 1;
window_loadsave_widgets[WIDX_RESIZE].bottom = w->height - 1;