mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-22 07:02:05 +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);
|
||||
|
||||
lv_obj_remove_state(indev->pointer.act_obj, LV_STATE_PRESSED);
|
||||
lv_obj_send_event(scroll_obj, LV_EVENT_SCROLL_BEGIN, NULL);
|
||||
if(indev->reset_query) return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user