1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(indev): don't wait until release when a new object is found (#6831)

This commit is contained in:
Gabor Kiss-Vamosi 2024-09-12 09:26:50 +02:00 committed by GitHub
parent 559618d9d2
commit 40592ddb9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1203,11 +1203,6 @@ static void indev_proc_press(lv_indev_t * indev)
lv_obj_send_event(last_obj, LV_EVENT_PRESS_LOST, indev_act);
if(indev_reset_check(indev)) return;
/*Do nothing until release and a new press*/
lv_indev_reset(indev, NULL);
lv_indev_wait_release(indev);
return;
}
indev->pointer.act_obj = indev_obj_act; /*Save the pressed object*/