mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Introduce widget::width and widget::height helper functions (#12053)
This commit is contained in:
@@ -685,8 +685,8 @@ static void window_footpath_show_footpath_types_dialog(rct_window* w, rct_widget
|
||||
|
||||
auto itemsPerRow = dropdown_get_appropriate_image_dropdown_items_per_row(numPathTypes);
|
||||
window_dropdown_show_image(
|
||||
w->windowPos.x + widget->left, w->windowPos.y + widget->top, widget->bottom - widget->top + 1, w->colours[1], 0,
|
||||
numPathTypes, 47, 36, itemsPerRow);
|
||||
w->windowPos.x + widget->left, w->windowPos.y + widget->top, widget->height() + 1, w->colours[1], 0, numPathTypes, 47,
|
||||
36, itemsPerRow);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user