fix(scroll): send LV_EVENT_SCROLL_BEGIN/END with no animation too

This commit is contained in:
Gabor Kiss-Vamosi
2022-04-14 13:37:48 +02:00
parent b6e76e28cf
commit 777fe1ea70
3 changed files with 20 additions and 15 deletions

View File

@@ -55,8 +55,8 @@ or on the object's or any parent's main part to make a scrollbar inherit the bas
### Events
The following events are related to scrolling:
- `LV_EVENT_SCROLL_BEGIN` Scrolling begins
- `LV_EVENT_SCROLL_END` Scrolling ends
- `LV_EVENT_SCROLL_BEGIN` Scrolling begins. The event parameter is `NULL` or an `lv_anim_t *` with a scroll animation descriptor that can be modified if required.
- `LV_EVENT_SCROLL_END` Scrolling ends.
- `LV_EVENT_SCROLL` Scroll happened. Triggered on every position change.
Scroll events