Open Laminariy opened 2 weeks ago
Hmm, I don't get how the recent change makes a difference? Wasn't what you describe also a problem before?
The call to handle_multi_touch()
(which in turn calls clear_gesture_state) is called under the same conditions both with the new and the old code.
Before this change, the gesture result was only returned if #action.touch == 2
. Now it is returned even if this condition is not met.
How it was before:
if action.touch then
if settings.multi_touch and #action.touch == 2 then
handle_multi_touch(action)
return gestures
end
So maybe it would be more correct to return result only if #action.touch == 2
So maybe it would be more correct to return result only if
#action.touch == 2
Or if the gesture state is cleared regardless of number of touch points? Like this:
There is issue in gesture module after last commit. Two finger gesture state not properly clears.
Problem:
Possible solution: