pub fn transition(
phase: GesturePhase,
event: GestureEvent,
threshold: f64,
) -> (GesturePhase, GestureEffect)Expand description
Advance the machine with the default Promotion::Distance policy.
Pure: same inputs, same outputs, no side effects.
threshold is the travel distance (CSS px) that promotes a press to a
drag; releases inside it resolve as GestureEffect::Tap.