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:
parent
22973360d0
commit
fcbd9fa4ea
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user