From 6ea8c2530c2ad88e4d5f89d2401f02af5c3bc7fa Mon Sep 17 00:00:00 2001 From: Ian-Polito Date: Tue, 30 Nov 2021 13:44:10 -0500 Subject: [PATCH] Fix #16007: Scenario Editor "Entry Price" appears to the right of the value field Entry Price label was being drawn to the right of the entryPriceWidget which is outside of the window. Changed to draw it to the right of the payForParkOrRidesWidget widget instead. --- src/openrct2-ui/windows/EditorScenarioOptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/windows/EditorScenarioOptions.cpp b/src/openrct2-ui/windows/EditorScenarioOptions.cpp index 00affbfbc28e..1d7e7a71e8de 100644 --- a/src/openrct2-ui/windows/EditorScenarioOptions.cpp +++ b/src/openrct2-ui/windows/EditorScenarioOptions.cpp @@ -1380,7 +1380,7 @@ static void WindowEditorScenarioOptionsParkPaint(rct_window* w, rct_drawpixelinf if (entryPriceWidget.type != WindowWidgetType::Empty) { // Entry price label - screenCoords = w->windowPos + ScreenCoordsXY{ entryPriceWidget.right + 8, entryPriceWidget.top }; + screenCoords = w->windowPos + ScreenCoordsXY{ payForParkOrRidesWidget.right + 8, entryPriceWidget.top }; DrawTextBasic(dpi, screenCoords, STR_ENTRY_PRICE_LABEL); // Entry price value