From d6eb1c826f364a8dc2db1786bc4bb7eb11f92be6 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 6 Feb 2018 19:49:32 -0600 Subject: [PATCH] new_grid: MidiRegionView::motion should propagate thru RegionView, so snapped_cursor is updated. This probably fixes other bugs as well. --- gtk2_ardour/midi_region_view.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index 53b42b27f2..80ec342af5 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -683,10 +683,8 @@ MidiRegionView::motion (GdkEventMotion* ev) } - /* we may be dragging some non-note object (eg. patch-change, sysex) - */ - - return editor.drags()->motion_handler ((GdkEvent *) ev, false); + //let RegionView do it's thing. drags are handled in here + return RegionView::canvas_group_event ((GdkEvent *) ev); }