diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 8af5b3b540..504d2d39ae 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -19,6 +19,7 @@ - Fix: [#11315] Ride that has never opened is shown as favorite ride of many guests. - Fix: [#11405] Building a path through walls does not always remove the walls. - Fix: [#11450] Rides with unsuitable track can't be opened even with "Enable all drawable track pieces" cheat. +- Fix: [#11455] Object Selection window cuts off scenery names. - Fix: RCT1 scenarios have more items in the object list than are present in the park or the research list. - Improved: [#6530] Allow water and land height changes on park borders. - Improved: [#11390] Build hash written to screenshot metadata. diff --git a/src/openrct2-ui/windows/EditorObjectSelection.cpp b/src/openrct2-ui/windows/EditorObjectSelection.cpp index 4833d9f7bc..d3dcbfb9ff 100644 --- a/src/openrct2-ui/windows/EditorObjectSelection.cpp +++ b/src/openrct2-ui/windows/EditorObjectSelection.cpp @@ -1160,10 +1160,11 @@ static void window_editor_object_selection_scrollpaint(rct_window* w, rct_drawpi gCurrentFontSpriteBase = FONT_SPRITE_BASE_MEDIUM; } - int32_t width_limit = (w->widgets[WIDX_LIST].right - w->widgets[WIDX_LIST].left - x) / 2; + int32_t width_limit = w->widgets[WIDX_LIST].right - w->widgets[WIDX_LIST].left - x; if (ridePage) { + width_limit /= 2; // Draw ride type rct_string_id rideTypeStringId = get_ride_type_string_id(listItem.repositoryItem); safe_strcpy(buffer, language_get_string(rideTypeStringId), 256 - (buffer - bufferWithColour));