mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Part of #11564: gfx_draw_string_centred_clipped with ScreenCoordsXY
This commit is contained in:
@@ -1067,7 +1067,7 @@ static void window_editor_object_selection_paint(rct_window* w, rct_drawpixelinf
|
||||
ft.Add<rct_string_id>(STR_STRING);
|
||||
ft.Add<const char*>(listItem->repositoryItem->Name.c_str());
|
||||
gfx_draw_string_centred_clipped(
|
||||
dpi, STR_WINDOW_COLOUR_2_STRINGID, gCommonFormatArgs, COLOUR_BLACK, screenPos.x, screenPos.y, width);
|
||||
dpi, STR_WINDOW_COLOUR_2_STRINGID, gCommonFormatArgs, COLOUR_BLACK, screenPos, width);
|
||||
}
|
||||
|
||||
// Draw description of object
|
||||
|
||||
Reference in New Issue
Block a user