mirror of
https://github.com/storytold/winit.git
synced 2026-11-29 09:44:58 +01:00
Use the reported axis source so wheel, wheel-tilt and continuous-source scroll events report `TouchPhase::Moved` instead of starting a finger gesture that never ends; egui then follows modifier release instead of keeping Ctrl zoom latched. Finger momentum is unchanged. The phase policy lives in `seat/pointer/scroll.rs`. Taken from storytold/pdfcraft vendor/winit patch (13) (storytold/pdfcraft#1569). No upstream winit PR yet. Co-authored-by: Brandon Thomas <echelon@gmail.com>