Commit bcdd3d7b authored by Maciej Suminski's avatar Maciej Suminski

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
...@@ -165,7 +165,7 @@ int EDIT_TOOL::Main( TOOL_EVENT& aEvent ) ...@@ -165,7 +165,7 @@ int EDIT_TOOL::Main( TOOL_EVENT& aEvent )
editFrame->OnModify(); editFrame->OnModify();
editFrame->SaveCopyInUndoList( selection.items, UR_CHANGED ); 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 // Set the current cursor position to the first dragged item origin, so the
// movement vector could be computed later // movement vector could be computed later
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment