Skip to main content

active_marker

Function active_marker 

Source
fn active_marker(markers: &[SlotMarker], pos: Pos2) -> Option<usize>
Expand description

The marker nearest pos within NEW_PIN_ACTIVATION_RANGE, if any. At most one is ever active, so the markers never fight over the cursor.