mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Use a Drag class for midi note selection, so that it
gets autoscroll (#4474). git-svn-id: svn://localhost/ardour2/branches/3.0@10650 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
86d927b4dd
commit
ec90b0ceb0
8 changed files with 155 additions and 72 deletions
|
|
@ -104,7 +104,7 @@ AutomationRegionView::canvas_event (GdkEvent* ev)
|
|||
if (ev->type == GDK_BUTTON_PRESS && e.current_mouse_mode() == Editing::MouseObject) {
|
||||
|
||||
/* XXX: icky dcast to Editor */
|
||||
e.drags()->set (new RubberbandSelectDrag (dynamic_cast<Editor*> (&e), group), ev);
|
||||
e.drags()->set (new EditorRubberbandSelectDrag (dynamic_cast<Editor*> (&e), group), ev);
|
||||
|
||||
} else if (ev->type == GDK_BUTTON_RELEASE) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue