Ensure item is gridded if there was no motion between clicks.
(cherry picked from commit f7a552a2b3)
This commit is contained in:
@@ -1403,6 +1403,7 @@ int SCH_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
|
||||
{
|
||||
getViewControls()->PinCursorInsideNonAutoscrollArea( true );
|
||||
cursorPos = getViewControls()->GetMousePosition();
|
||||
cursorPos = grid.BestSnapAnchor( cursorPos, snapLayer, item );
|
||||
}
|
||||
|
||||
if( item )
|
||||
|
||||
Reference in New Issue
Block a user