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 <wc0917.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D11208
This commit is contained in:
Mike Blumenkrantz 2020-01-27 13:40:02 -05:00 committed by Marcel Hollerbach
parent d62e3f97ad
commit 1320156e03
1 changed files with 2 additions and 1 deletions

View File

@ -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;