1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

indev: do not send wait_releaseLV_SIGNAL/EVENT_PRESSED

This commit is contained in:
Gabor Kiss-Vamosi 2019-11-18 07:03:03 +01:00
parent 22973360d0
commit fcbd9fa4ea

View File

@ -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;