From 5c830233ec9478fc874bdbec12c10a5fee2c6d1f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 2 Jun 2021 18:23:22 -0600 Subject: [PATCH] implement ripple-all via select-all for selection drags --- gtk2_ardour/editor_drag.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index cb0bcd7f4b..62cd7d67b0 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -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) {