https://bugs.kde.org/show_bug.cgi?id=484309
Noah Davis <noaha...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/fram | |eworks/kirigami/-/commit/fb | |21ee822f448136bfa032e0da5fa | |ca6ffc82b72 Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Noah Davis <noaha...@gmail.com> --- Git commit fb21ee822f448136bfa032e0da5faca6ffc82b72 by Noah Davis. Committed on 14/04/2025 at 18:20. Pushed by ndavis into branch 'master'. WheelHandler: smooth scroll for a greater variety of movement sizes Duration is based on the duration and movement for 120 angle delta. Shorten duration for smaller movements, limit duration for big movements. We don't want fine deltas to feel extra slow and fast scrolling should still feel fast. Minimum 3 frames for a 60hz display if delta > 2 physical pixels (start already rendered -> 1/3 rendered -> 2/3 rendered -> end rendered). Skip animation if <= 2 real frames for low refresh rate screens. Otherwise, we don't scale the duration based on refresh rate or device pixel ratio to avoid making the animation unexpectedly longer or shorter on different screens. M +32 -24 src/wheelhandler.cpp M +0 -1 src/wheelhandler.h https://invent.kde.org/frameworks/kirigami/-/commit/fb21ee822f448136bfa032e0da5faca6ffc82b72 -- You are receiving this mail because: You are watching all bug changes.