Skip to main content

DRAG_START_THRESHOLD_PX

Constant DRAG_START_THRESHOLD_PX 

pub const DRAG_START_THRESHOLD_PX: f64 = 4.0; // 4f64
Expand description

Threshold in logical pixels after which a pointer press-and-move is promoted to a drag gesture. Matches macOS / GTK conventions.