Skip to main content

DOUBLE_CLICK_RADIUS_PX

Constant DOUBLE_CLICK_RADIUS_PX 

Source
pub const DOUBLE_CLICK_RADIUS_PX: f32 = 5.0;
Expand description

Maximum pointer travel between two clicks for them to still count as a double-click. Matches the GTK / Qt double-click slop (~5px): two clicks at opposite corners of one large entity are two singles, not a double.