Allow to initiate Rubberband-drag on blank Trackview

This commit is contained in:
Robin Gareus 2023-07-02 21:19:46 +02:00
parent 1f4490fff9
commit 168b67bd17
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 3 additions and 0 deletions

View File

@ -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: