Commit bcdd3d7b authored by Maciej Suminski's avatar Maciej Suminski
Browse files

Items are either dragged by their origin or moved by a vector (depending on...

Items are either dragged by their origin or moved by a vector (depending on the number of selected items) (GAL).
parent 1b058cae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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