Browse Source

Ensure item is gridded if there was no motion between clicks.

newinvert
Jeff Young 3 years ago
parent
commit
f7a552a2b3
  1. 1
      eeschema/tools/sch_drawing_tools.cpp

1
eeschema/tools/sch_drawing_tools.cpp

@ -1402,6 +1402,7 @@ int SCH_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
{
getViewControls()->PinCursorInsideNonAutoscrollArea( true );
cursorPos = getViewControls()->GetMousePosition();
cursorPos = grid.BestSnapAnchor( cursorPos, snapLayer, item );
}
if( item )

Loading…
Cancel
Save