netstar pushed a commit to branch master. http://git.enlightenment.org/apps/evisum.git/commit/?id=fa9b6353051d224c8936c7967789813222e610cd
commit fa9b6353051d224c8936c7967789813222e610cd Author: Alastair Poole <nets...@gmail.com> Date: Fri Mar 26 18:20:58 2021 +0000 proclist: scroll --- src/bin/ui/ui_process_list.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/bin/ui/ui_process_list.c b/src/bin/ui/ui_process_list.c index 3b64a00..bcdc6fe 100644 --- a/src/bin/ui/ui_process_list.c +++ b/src/bin/ui/ui_process_list.c @@ -1436,7 +1436,8 @@ _glist_scrolled_cb(void *data, Evas_Object *obj EINA_UNUSED, { Data *pd = data; - pd->skip_update = 1; + if (pd->poll_count < 10) + pd->skip_update = 1; } static void @@ -1471,8 +1472,10 @@ _glist_mouse_wheel_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNU elm_scroller_region_get(pd->glist, &x, &y, &w, &h); - if (ev->z == 1) movement = (GENLIST_SCROLL_BY); - else if (ev->z == -1) movement = -(GENLIST_SCROLL_BY); + h *= 1.2; + + if (ev->z == 1) movement = (h < GENLIST_SCROLL_BY ? h : GENLIST_SCROLL_BY); + else if (ev->z == -1) movement = (h < GENLIST_SCROLL_BY ? -h : -GENLIST_SCROLL_BY); elm_scroller_region_bring_in(pd->glist, x, y + movement, w, h); } --