Items are either dragged by their origin or moved by a vector (depending on the number of selected items) (GAL).
This commit is contained in:
parent
1b058cae1e
commit
bcdd3d7bb9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue