Browse Source

Items are either dragged by their origin or moved by a vector (depending on the number of selected items) (GAL).

pull/1/head
Maciej Suminski 11 years ago
parent
commit
bcdd3d7bb9
  1. 2
      pcbnew/tools/edit_tool.cpp

2
pcbnew/tools/edit_tool.cpp

@ -165,7 +165,7 @@ int EDIT_TOOL::Main( TOOL_EVENT& aEvent )
editFrame->OnModify();
editFrame->SaveCopyInUndoList( selection.items, UR_CHANGED );
if( evt->Modifier( MD_CTRL ) )
if( selection.Size() == 1 )
{
// Set the current cursor position to the first dragged item origin, so the
// movement vector could be computed later

Loading…
Cancel
Save