X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fgesturedetector.cpp;fp=source%2Finput%2Fgesturedetector.cpp;h=97e3d56f0fc53a3e4a7eb0e271a2a0c060303603;hb=81a662b025809d71d8dc67a2108ad7d54ba7c645;hp=62ac3f050d09c9c849b7e0c6c62ecf8e3185a3bf;hpb=e2984aa0c6e76d863bc7fa3d1f4beaf28414f331;p=libs%2Fgui.git diff --git a/source/input/gesturedetector.cpp b/source/input/gesturedetector.cpp index 62ac3f0..97e3d56 100644 --- a/source/input/gesturedetector.cpp +++ b/source/input/gesturedetector.cpp @@ -150,11 +150,12 @@ void GestureDetector::start_gesture() if(!p.down) return; - /* At least one point needs to have moved more than the threshold to start - the gesture. */ - bool threshold_exceeded = false; - for(unsigned i=0; (i