1
0
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:
Rubidium
2025-12-06 09:38:50 +01:00
committed by rubidium42
parent 22569515df
commit 2c91607671

View File

@@ -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;