X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Finput%2Ftouchscreen.cpp;h=18e795fe83a91da20451ef42e85a17423cc2373c;hp=95fd272200b03802e43d517f01af99ca1ec49831;hb=ca166b9b8a41fd34e901b16da2cc4c1ae732cbcf;hpb=c3b9df7cf0a4ea3b97cacc1802d245fee133ed7a 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; }