Browse Source

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
6.0.7
Seth Hillbrand 4 years ago
parent
commit
bb5c58b3cf
  1. 6
      eeschema/tools/ee_selection_tool.cpp

6
eeschema/tools/ee_selection_tool.cpp

@ -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…
Cancel
Save