1
0
Fork 0

Fix: Scenario climate selection buttons shouldn't include size of (unset) integer.

pull/13161/head
Peter Nelson 2024-12-08 13:01:27 +00:00
parent 95d22bac89
commit 54f8194b4b
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ struct CreateScenarioWindow : public Window
case WID_CS_TROPICAL: case WID_CS_TOYLAND:
size.width += WidgetDimensions::scaled.fullbevel.Horizontal();
size.height += WidgetDimensions::scaled.fullbevel.Vertical();
break;
return;
case WID_CS_START_DATE_TEXT:
SetDParam(0, TimerGameCalendar::ConvertYMDToDate(CalendarTime::MAX_YEAR, 0, 1));