From 996ca5a88097b916abc115a8988ef2ce51dbbd81 Mon Sep 17 00:00:00 2001 From: deurklink Date: Sat, 19 May 2018 14:57:05 +0200 Subject: [PATCH] Fix #7528: Tab changing in park pricing window happens on mousedown instead of mouseup (#7542) --- distribution/changelog.txt | 1 + src/openrct2-ui/windows/Park.cpp | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 824b215186..73efaef2d4 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -27,6 +27,7 @@ - Fix: [#7405] Rides can be covered by placing scenery underneath them. - Fix: [#7436] Only the first 32 vehicles of a train can be painted. - Fix: [#7480] Graphs skip values of 0. +- Fix: [#7528] In park entrance pricing tab, switching tabs happens on mouse-down instead of mouse-up - Improved: [#2989] Multiplayer window now changes title when tab changes. - Improved: [#5339] Change eyedropper icon to actual eyedropper and change cursor to crosshair. - Improved: [#7302] Raising land near the map edge makes the affected area smaller instead of showing an 'off edge map' error. diff --git a/src/openrct2-ui/windows/Park.cpp b/src/openrct2-ui/windows/Park.cpp index a7cf6d2e22..8d249e5889 100644 --- a/src/openrct2-ui/windows/Park.cpp +++ b/src/openrct2-ui/windows/Park.cpp @@ -1212,15 +1212,6 @@ static void window_park_price_mousedown(rct_window *w, rct_widgetindex widgetInd case WIDX_CLOSE: window_close(w); break; - case WIDX_TAB_1: - case WIDX_TAB_2: - case WIDX_TAB_3: - case WIDX_TAB_4: - case WIDX_TAB_5: - case WIDX_TAB_6: - case WIDX_TAB_7: - window_park_set_page(w, widgetIndex - WIDX_TAB_1); - break; case WIDX_INCREASE_PRICE: newFee = Math::Min(MAX_ENTRANCE_FEE, gParkEntranceFee + MONEY(1,00)); park_set_entrance_fee(newFee);