Skip to main content

EDGE_AUTOSCROLL_PX_PER_S

Constant EDGE_AUTOSCROLL_PX_PER_S 

pub const EDGE_AUTOSCROLL_PX_PER_S: f64 = 1600.0; // 1600f64
Expand description

How fast a drag pressed right against a viewport’s edge scrolls it; it starts from nothing at the band’s inner side and grows with depth.