mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(indev): fix LV_EVENT_SCROLL_THROW_BEGIN not send to scroll_obj (#6693)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com> Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
This commit is contained in:
parent
016b397642
commit
d028a970a0
@ -1363,7 +1363,8 @@ static void indev_proc_release(lv_indev_t * indev)
|
||||
if(send_event(LV_EVENT_CLICKED, indev_act) == LV_RESULT_INVALID) return;
|
||||
}
|
||||
else {
|
||||
if(send_event(LV_EVENT_SCROLL_THROW_BEGIN, indev_act) == LV_RESULT_INVALID) return;
|
||||
lv_obj_send_event(scroll_obj, LV_EVENT_SCROLL_THROW_BEGIN, indev_act);
|
||||
if(indev_reset_check(indev)) return;
|
||||
}
|
||||
}
|
||||
indev->pointer.act_obj = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user