forked from enlightenment/efl
efl/gesture: fix flick internal touch id tracking
need to always make sure we set this when a gesture is being tracked so we know which touch point we're watching Differential Revision: https://phab.enlightenment.org/D11387
This commit is contained in:
parent
322fdba5f0
commit
613cd9f812
|
@ -295,11 +295,12 @@ _efl_canvas_gesture_recognizer_flick_efl_canvas_gesture_recognizer_recognize(Eo
|
|||
switch (efl_gesture_touch_state_get(event))
|
||||
{
|
||||
case EFL_GESTURE_TOUCH_STATE_BEGIN:
|
||||
if (!glayer_continues_enable)
|
||||
fd->id = efl_gesture_touch_current_data_get(event)->id;
|
||||
fd->id = efl_gesture_touch_current_data_get(event)->id;
|
||||
EINA_FALLTHROUGH;
|
||||
case EFL_GESTURE_TOUCH_STATE_UPDATE:
|
||||
{
|
||||
if (fd->id == -1)
|
||||
fd->id = efl_gesture_touch_current_data_get(event)->id;
|
||||
if (pd->t_st)
|
||||
{
|
||||
if (glayer_continues_enable && pd->t_end)
|
||||
|
|
Loading…
Reference in New Issue