mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
only button 1 click in mouse draw mode on MIDI automation regions should add events
This commit is contained in:
parent
0c06860ed7
commit
36c708c465
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ AutomationRegionView::canvas_group_event (GdkEvent* ev)
|
||||||
|
|
||||||
if (trackview.editor().internal_editing() &&
|
if (trackview.editor().internal_editing() &&
|
||||||
ev->type == GDK_BUTTON_RELEASE &&
|
ev->type == GDK_BUTTON_RELEASE &&
|
||||||
|
ev->button.button == 1 &&
|
||||||
e.current_mouse_mode() == Editing::MouseDraw &&
|
e.current_mouse_mode() == Editing::MouseDraw &&
|
||||||
!e.drags()->active()) {
|
!e.drags()->active()) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue