1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Fix #16007: Scenario Editor "Entry Price" appears in wrong place

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.
This commit is contained in:
Ian Polito
2021-12-02 15:05:57 -05:00
committed by GitHub
parent 9eeb22da5e
commit d3ee7eded1
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
- Improved: [#10664, #16072] Visibility status can be modified directly in the Tile Inspector's list.
- Fix: [#15571] Non-ASCII characters in scenario description get distorted while saving.
- Fix: [#15998] Cannot set map size to the actual maximum.
- Fix: [#16007] Scenario Editor "Entry Price" appears to the right of the value field
- Fix: [#16008] Tile Inspector can select elements from last tile without reselecting it.
- Fix: [#16063] Object Selection preview for objects with glass is broken.
- Fix: [#16087] The Looping Roller Coaster booster is now always drawn correctly.

View File

@@ -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