mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Allow multiple simulataneous Drags to be active, and hence set up and drag time ranges when moving regions in PT-edit mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@6478 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
642f41b82f
commit
11bd4eed89
14 changed files with 414 additions and 350 deletions
|
|
@ -3826,10 +3826,8 @@ Editor::cut_copy (CutCopyOp op)
|
|||
*/
|
||||
|
||||
if (op == Cut || op == Clear) {
|
||||
if (_drag) {
|
||||
_drag->item()->ungrab (0);
|
||||
delete _drag;
|
||||
_drag = 0;
|
||||
if (_drags->active ()) {
|
||||
_drags->abort ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3846,10 +3844,7 @@ Editor::cut_copy (CutCopyOp op)
|
|||
Glib::signal_idle().connect (sigc::bind (sigc::mem_fun(*this, &Editor::really_remove_marker), loc));
|
||||
}
|
||||
|
||||
break_drag ();
|
||||
delete _drag;
|
||||
_drag = 0;
|
||||
|
||||
_drags->break_drag ();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -3930,9 +3925,7 @@ Editor::cut_copy (CutCopyOp op)
|
|||
}
|
||||
|
||||
if (op == Cut || op == Clear) {
|
||||
break_drag ();
|
||||
delete _drag;
|
||||
_drag = 0;
|
||||
_drags->break_drag ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue