Prevent region drags with the middle button in internal edit mode (#3869).
git-svn-id: svn://localhost/ardour2/branches/3.0@9199 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7665af74a5
commit
ad942b104a
@ -1049,6 +1049,11 @@ Editor::button_press_handler_2 (ArdourCanvas::Item* item, GdkEvent* event, ItemT
|
||||
case MouseObject:
|
||||
switch (item_type) {
|
||||
case RegionItem:
|
||||
if (internal_editing ()) {
|
||||
/* no region drags in internal edit mode */
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Keyboard::modifier_state_contains (event->button.state, Keyboard::CopyModifier)) {
|
||||
add_region_copy_drag (item, event, clicked_regionview);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user