Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ian-Polito committed Nov 30, 2021
1 parent 60ef13e commit 6ea8c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openrct2-ui/windows/EditorScenarioOptions.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 6ea8c25

Please sign in to comment.