tempo mapping (like all other drags) must use button1 only
Without this, Editor::button_release_handler() will handle a button3 press without checking for an active drag, resulting in two drags, and two reversible commands, and an abort ...
This commit is contained in:
parent
364c892c68
commit
945ce377aa
@ -1293,10 +1293,13 @@ Editor::canvas_grid_zone_event (GdkEvent* event)
|
||||
GdkEventScroll scroll;
|
||||
ArdourCanvas::Duple winpos;
|
||||
|
||||
|
||||
switch (event->type) {
|
||||
|
||||
case GDK_BUTTON_PRESS:
|
||||
choose_mapping_drag (_canvas_grid_zone, event);
|
||||
if (event->button.button == 1) {
|
||||
choose_mapping_drag (_canvas_grid_zone, event);
|
||||
}
|
||||
break;
|
||||
|
||||
case GDK_BUTTON_RELEASE:
|
||||
|
Loading…
Reference in New Issue
Block a user