From 168b67bd17ef8f47d48d86d72b96bf83c3876a01 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 2 Jul 2023 21:19:46 +0200 Subject: [PATCH] Allow to initiate Rubberband-drag on blank Trackview --- gtk2_ardour/editor_mouse.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 4fbc765b43..e7d0ae4c80 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -1036,6 +1036,9 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT case StreamItem: /* in the past, we created a new midi region here, but perhaps that is best left to the Draw mode */ + /* .. now we allow for rubberband selection (region gain) */ + _drags->set (new EditorRubberbandSelectDrag (this, item), event); + return true; break; case AutomationTrackItem: