Pcbnew moveIndividually ctrl-M mangles 2+ tracks
CHANGED: moveIndividually ctrl-M not mangle tracks and add grid snapping Fixes https://gitlab.com/kicad/code/kicad/issues/15124
This commit is contained in:
parent
e53e571d2d
commit
d26aa7dc20
|
@ -714,7 +714,7 @@ bool EDIT_TOOL::doMoveSelection( const TOOL_EVENT& aEvent, BOARD_COMMIT* aCommit
|
|||
|
||||
// Pick up new item
|
||||
aCommit->Modify( nextItem );
|
||||
nextItem->SetPosition( controls->GetMousePosition( true ) );
|
||||
nextItem->Move( controls->GetCursorPosition( true ) - nextItem->GetPosition() );
|
||||
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue