diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-08-15 17:36:50 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-08-15 17:36:50 -0400 |
commit | 36c708c4654053b9b15c800cea1a0bea28762743 (patch) | |
tree | 38a15041474c2ce8d4dcec6f73ccdeb15c4d1cf1 /gtk2_ardour/automation_region_view.cc | |
parent | 0c06860ed78410ec0f78e8648b0ecd92daf953a2 (diff) |
only button 1 click in mouse draw mode on MIDI automation regions should add events
Diffstat (limited to 'gtk2_ardour/automation_region_view.cc')
-rw-r--r-- | gtk2_ardour/automation_region_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index ce1cd1498d..4a16177d29 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -137,6 +137,7 @@ AutomationRegionView::canvas_group_event (GdkEvent* ev) if (trackview.editor().internal_editing() && ev->type == GDK_BUTTON_RELEASE && + ev->button.button == 1 && e.current_mouse_mode() == Editing::MouseDraw && !e.drags()->active()) { |