Function distance
pub fn distance(velocity: f64, elapsed: Duration) -> f64Expand description
How far velocity scrolls over a frame of elapsed; a stalled frame
counts as at most EDGE_AUTOSCROLL_MAX_STEP, so it does not fling.
pub fn distance(velocity: f64, elapsed: Duration) -> f64How far velocity scrolls over a frame of elapsed; a stalled frame
counts as at most EDGE_AUTOSCROLL_MAX_STEP, so it does not fling.