diff --git a/src/lv_core/lv_indev.c b/src/lv_core/lv_indev.c index 623a667b8..8b5ac937d 100644 --- a/src/lv_core/lv_indev.c +++ b/src/lv_core/lv_indev.c @@ -797,6 +797,7 @@ static void indev_proc_press(lv_indev_proc_t * proc) lv_event_send(indev_obj_act, LV_EVENT_PRESSED, NULL); if(indev_reset_check(proc)) return; + if(indev_act->proc.wait_until_release) return; } } @@ -826,6 +827,7 @@ static void indev_proc_press(lv_indev_proc_t * proc) if(indev_reset_check(proc)) return; lv_event_send(indev_obj_act, LV_EVENT_PRESSING, NULL); if(indev_reset_check(proc)) return; + if(indev_act->proc.wait_until_release) return; indev_drag(proc); if(indev_reset_check(proc)) return;