Set default force cursor off in auto-lines
Leaving the forced position on results in the auto-line linking to a pin for far longer than we intend if there are other hits in the area of the cursor Fixes https://gitlab.com/kicad/code/kicad/issues/9321
This commit is contained in:
parent
854472d550
commit
bb5c58b3cf
|
@ -617,6 +617,8 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
|||
|
||||
// We are checking if we should display a pencil when hovering over anchors
|
||||
// for "auto starting" wires when clicked
|
||||
getViewControls()->ForceCursorPosition( false );
|
||||
|
||||
if( CollectHits( collector, evt->Position() ) )
|
||||
{
|
||||
narrowSelection( collector, evt->Position(), false, false );
|
||||
|
@ -659,10 +661,6 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
getViewControls()->ForceCursorPosition( false );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue