From 9eb0dc6ea9e44fd155e6ccaa6ba221ce154e20f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 30 Jul 2017 17:57:07 +0200 Subject: [PATCH] Fix wrong mouse button being released on FingerUp event --- src/openrct2-ui/UiContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/UiContext.cpp b/src/openrct2-ui/UiContext.cpp index 116032d594..c2a6892623 100644 --- a/src/openrct2-ui/UiContext.cpp +++ b/src/openrct2-ui/UiContext.cpp @@ -429,7 +429,7 @@ public: if (_cursorState.touchIsDouble) { store_mouse_input(MOUSE_STATE_RIGHT_RELEASE, x, y); - _cursorState.left = CURSOR_RELEASED; + _cursorState.right = CURSOR_RELEASED; _cursorState.old = 4; } else {