doubletap: fix doubletap behavior (just because tshirtman want to follow the rule: 2 release in a row.)

This commit is contained in:
Mathieu Virbel 2013-03-12 11:41:35 +01:00
parent 4da8664042
commit 5deb5b9529
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class InputPostprocDoubleTap(object):
if touch.is_mouse_scrolling or ref.is_mouse_scrolling:
continue
if 'button' in touch.profile or 'button' in ref.profile:
if 'button' not in ref.profile or ref.button != touch.profile:
if 'button' not in ref.profile or ref.button != touch.button:
continue
touch.double_tap_distance = distance
return touch