From ca166b9b8a41fd34e901b16da2cc4c1ae732cbcf Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 19 Dec 2014 03:38:29 +0200 Subject: [PATCH] Fix an incorrect all to set_button_state in Touchscreen::touch_up --- source/input/touchscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/input/touchscreen.cpp b/source/input/touchscreen.cpp index 95fd272..18e795f 100644 --- a/source/input/touchscreen.cpp +++ b/source/input/touchscreen.cpp @@ -72,7 +72,7 @@ void Touchscreen::touch_move(unsigned id, float x, float y) void Touchscreen::touch_up(unsigned id) { unsigned i = map_point_id(id); - set_button_state(i, true, false); + set_button_state(i, false, true); active_points[i] = UNUSED; } -- 2.43.0