mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-29 04:28:20 -06:00
* Viewer: accelerate coarse wheel scrolling (#1072) Line/Page notches moved a fixed eased step, so a fast spin felt slow. Accumulate one frame of coarse input per axis, scale by arrival rate (1.0 idle, up to 6.0 spinning), and apply it directly like precise touchpad input. Signed-off-by: Chiranjeevi U <244287281+chiranjeevi-max@users.noreply.github.com> * Viewer: add only the fast-spin surplus on top of egui smoothing Single notches flow through egui untouched, so isolated input matches the scroll speed preference exactly; page units are never boosted. Signed-off-by: Chiranjeevi U <244287281+chiranjeevi-max@users.noreply.github.com> --------- Signed-off-by: Chiranjeevi U <244287281+chiranjeevi-max@users.noreply.github.com>