1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +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:
yushuailong 2024-08-14 10:13:00 +08:00 committed by GitHub
parent 491b899c14
commit d2545c3ecf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1589,7 +1589,7 @@ void indev_gesture(lv_indev_t * indev)
lv_obj_send_event(gesture_obj, LV_EVENT_GESTURE, indev_act);
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;
}
}