Skip to main content

select_tool_for_anchor

Function select_tool_for_anchor 

Source
pub fn select_tool_for_anchor(data: &Drawing<'_>, anchor: PinId) -> Tool
Expand description

The selection tool a freshly renamed/moved pin should return to, so the pin stays the standing target for further edits. A block pin returns to the per-pin SelectPin selection; a port returns to its block-style ResizeBlock selection.