From 5deb5b952933d751b24aa1f731cb234015805440 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 12 Mar 2013 11:41:35 +0100 Subject: [PATCH] doubletap: fix doubletap behavior (just because tshirtman want to follow the rule: 2 release in a row.) --- kivy/input/postproc/doubletap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/input/postproc/doubletap.py b/kivy/input/postproc/doubletap.py index 5594ea8d6..693b1025c 100644 --- a/kivy/input/postproc/doubletap.py +++ b/kivy/input/postproc/doubletap.py @@ -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