mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-29 22:56:58 +08:00
feat(indev): remove the PRESSED state on scroll (#5660)
This commit is contained in:
committed by
GitHub
parent
84f72db6d9
commit
fa9142ef36
@@ -56,6 +56,7 @@ void _lv_indev_scroll_handler(lv_indev_t * indev)
|
|||||||
|
|
||||||
init_scroll_limits(indev);
|
init_scroll_limits(indev);
|
||||||
|
|
||||||
|
lv_obj_remove_state(indev->pointer.act_obj, LV_STATE_PRESSED);
|
||||||
lv_obj_send_event(scroll_obj, LV_EVENT_SCROLL_BEGIN, NULL);
|
lv_obj_send_event(scroll_obj, LV_EVENT_SCROLL_BEGIN, NULL);
|
||||||
if(indev->reset_query) return;
|
if(indev->reset_query) return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user