Improve ctrl-click behaviour of automation points. Should fix #3385.

git-svn-id: svn://localhost/ardour2/branches/3.0@7584 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-08-10 01:52:49 +00:00
parent 75d265e388
commit 48063c15df
6 changed files with 37 additions and 19 deletions

View file

@ -1070,8 +1070,6 @@ Editor::button_press_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemTyp
return true;
}
button_selection (item, event, item_type);
if (!_drags->active () &&
(Keyboard::is_delete_event (&event->button) ||
Keyboard::is_context_menu_event (&event->button) ||
@ -1113,7 +1111,7 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
return true;
}
/* first, see if we're finishing a drag ... */
/* see if we're finishing a drag */
bool were_dragging = false;
if (_drags->active ()) {