bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1320156e031a8d25bf0c803d3ce9c39bc30d84f0

commit 1320156e031a8d25bf0c803d3ce9c39bc30d84f0
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jan 27 13:40:02 2020 -0500

    efl/gesture: conditionally ignore multi-touch unpress events in zoom 
recognizer
    
    if we have not begun to process a zoom gesture by this point, then we should
    not be emitting a cancel result
    
    Reviewed-by: woochan lee <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11208
---
 src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c 
b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c
index 4eef014ed0..2857dd30d2 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c
@@ -261,7 +261,8 @@ 
_efl_canvas_gesture_recognizer_zoom_efl_canvas_gesture_recognizer_recognize(Eo *
 
       case EFL_GESTURE_TOUCH_STATE_END:
       {
-         if (td->touch_down == 0)
+         /* no gesture was started, so no gesture should be detected */
+         if ((td->touch_down == 0) || (!pd->zoom_st.cur.timestamp))
            {
               rd->continues = EINA_FALSE;
 

-- 


Reply via email to