1
0
Fork 0

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

pull/13165/head
Peter Nelson 2024-12-09 23:42:14 +00:00 committed by GitHub
parent 95d22bac89
commit f8e9ee6fec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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));