mirror of
https://github.com/OpenTTD/OpenTTD
synced 2025-12-10 06:52:05 +01:00
Fix #14839, e4cf6ca0ba: do not set stacked widget height, which might not be shown
This commit is contained in:
@@ -240,7 +240,6 @@ struct TimetableWindow : Window {
|
||||
}
|
||||
[[fallthrough]];
|
||||
|
||||
case WID_VT_ARRIVAL_DEPARTURE_SELECTION:
|
||||
case WID_VT_TIMETABLE_PANEL:
|
||||
fill.height = resize.height = GetCharacterHeight(FS_NORMAL);
|
||||
size.height = 8 * resize.height + padding.height;
|
||||
|
||||
Reference in New Issue
Block a user