allow drawing automation control points in mouse object mode
This is a tentative change and if it proves unwise we can back it out. I just find it awkward to have to change modes to draw when it is completely obvious whether I am drawing or not.
This commit is contained in:
parent
99c87e0614
commit
c53a476f15
@ -134,10 +134,9 @@ AutomationRegionView::canvas_group_event (GdkEvent* ev)
|
||||
|
||||
PublicEditor& e = trackview.editor ();
|
||||
|
||||
if (trackview.editor().internal_editing() &&
|
||||
ev->type == GDK_BUTTON_RELEASE &&
|
||||
if (ev->type == GDK_BUTTON_RELEASE &&
|
||||
ev->button.button == 1 &&
|
||||
e.current_mouse_mode() == Editing::MouseDraw &&
|
||||
(e.current_mouse_mode() == Editing::MouseDraw || e.current_mouse_mode() == Editing::MouseObject) &&
|
||||
!e.drags()->active()) {
|
||||
|
||||
double x = ev->button.x;
|
||||
|
Loading…
Reference in New Issue
Block a user