Hopefully fix up region click + drag which I broke yesterday.
git-svn-id: svn://localhost/ardour2/branches/3.0@7586 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
67c0dd5310
commit
fc67586db5
|
@ -24,7 +24,7 @@
|
|||
|
||||
class TimeAxisView;
|
||||
|
||||
/** A selected automation point, expressed as a rectangle.
|
||||
/** One or more selected automation points, expressed as a rectangle.
|
||||
*
|
||||
* x coordinates start/end are in AutomationList model coordinates.
|
||||
* y coordinates are a expressed as a fraction of the AutomationTimeAxisView's height, where 0 is the
|
||||
|
|
|
@ -1070,6 +1070,8 @@ 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) ||
|
||||
|
@ -1124,8 +1126,6 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
|
|||
were_dragging = true;
|
||||
}
|
||||
|
||||
button_selection (item, event, item_type);
|
||||
|
||||
/* edit events get handled here */
|
||||
|
||||
if (!_drags->active () && Keyboard::is_edit_event (&event->button)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user