Skip to content

Fix: detect scroll end on touchpads via zero-delta check#235

Open
giuseppe-carboni wants to merge 1 commit intoqwreey:devfrom
giuseppe-carboni:fix/touchpad-scroll-finish
Open

Fix: detect scroll end on touchpads via zero-delta check#235
giuseppe-carboni wants to merge 1 commit intoqwreey:devfrom
giuseppe-carboni:fix/touchpad-scroll-finish

Conversation

@giuseppe-carboni
Copy link

Changed logic in vfunc_scroll_event to correctly detect the end of a scroll gesture.
Some touchpads do not emit ScrollFinishFlags, but instead send a scroll event with dx=0 and dy=0.
Added shouldStop check to handle both cases, ensuring dfunc_scroll_end is called correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant