Expand description
Per-OS physics constants used by the scroll, drag, and press primitives.
Values sourced from NSScrollView (macOS) and IInertiaProcessor (Windows); see PHYSICS.md.
Constantsยง
- INERTIA_
DECAY - Inertia decay (1/s). Higher = stops faster. Per-OS.
- LINE_
HEIGHT_ PX - Lines-per-wheel-detent -> pixels conversion (used by the winit bridge to
normalize
MouseScrollDelta::LineDelta). - RUBBER_
BAND_ STIFFNESS - Rubber-band stiffness applied when scroll position exceeds bounds. Higher = stiffer pullback. Macs use rubber-band; Windows/Linux clamp.