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

@ -17,6 +17,7 @@
- Fix: [#8045] Crash when switching between languages.
- Fix: [#8062] In multiplayer warnings for unstable cheats are shown when disabling them.
- Fix: [#8090] Maze designs saved incorrectly.
- Fix: [#8101] Title sequences window flashes after opening.
- Improved: [#2940] Allow mouse-dragging to set patrol area (Singleplayer only).
- Improved: [#7730] Draw extreme vertical and lateral Gs red in the ride window's graph tab.
- Improved: [#7930] Automatically create folders for custom content.

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);
}