mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-27 20:57:01 +08:00
fix(indev): fix indev not send gesture event (#6676)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com> Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
This commit is contained in:
@@ -1589,7 +1589,7 @@ void indev_gesture(lv_indev_t * indev)
|
|||||||
lv_obj_send_event(gesture_obj, LV_EVENT_GESTURE, indev_act);
|
lv_obj_send_event(gesture_obj, LV_EVENT_GESTURE, indev_act);
|
||||||
if(indev_reset_check(indev)) return;
|
if(indev_reset_check(indev)) return;
|
||||||
|
|
||||||
lv_indev_send_event(indev_act, LV_EVENT_LONG_PRESSED, gesture_obj);
|
lv_indev_send_event(indev_act, LV_EVENT_GESTURE, gesture_obj);
|
||||||
if(indev_reset_check(indev_act)) return;
|
if(indev_reset_check(indev_act)) return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user