forked from enlightenment/efl
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:
parent
d62e3f97ad
commit
1320156e03
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue