1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Fix #8101: Title Sequences window flashes on opening

Previously a max value lower than min value was being passed to clamp.
WH2 seems the correct height for both min and max (tab doesn't change).
This commit is contained in:
tombomp
2018-10-17 13:15:27 +01:00
committed by Michael Steenbeek
parent 0ec3d90495
commit c914c7d1e8
2 changed files with 2 additions and 1 deletions

View File

@@ -508,7 +508,7 @@ static void window_title_editor_mouseup(rct_window* w, rct_widgetindex widgetInd
static void window_title_editor_resize(rct_window* w)
{
if (w->selected_tab == WINDOW_TITLE_EDITOR_TAB_PRESETS)
window_set_resize(w, WW, WH, 500, WH2);
window_set_resize(w, WW, WH2, 500, WH2);
else
window_set_resize(w, WW, WH, 500, 580);
}