mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
implement ripple-all via select-all for selection drags
This commit is contained in:
parent
636f1331e8
commit
5c830233ec
1 changed files with 4 additions and 1 deletions
|
|
@ -5664,6 +5664,9 @@ SelectionDrag::motion (GdkEvent* event, bool first_move)
|
|||
}
|
||||
|
||||
if (first_move) {
|
||||
if (Config->get_edit_mode() == RippleAll) {
|
||||
_editor->selection->set (_editor->get_track_views());
|
||||
}
|
||||
_track_selection_at_start = _editor->selection->tracks;
|
||||
}
|
||||
|
||||
|
|
@ -5728,7 +5731,7 @@ SelectionDrag::motion (GdkEvent* event, bool first_move)
|
|||
ArdourCanvas::Coord const top = grab_y();
|
||||
ArdourCanvas::Coord const bottom = current_pointer_y();
|
||||
|
||||
if (top >= 0 && bottom >= 0) {
|
||||
if ((Config->get_edit_mode() != RippleAll) && top >= 0 && bottom >= 0) {
|
||||
|
||||
//first, find the tracks that are covered in the y range selection
|
||||
for (TrackViewList::const_iterator i = all_tracks.begin(); i != all_tracks.end(); ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue