From e32d4f7b71f88fd279775af4c3008e00d2fa51f9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 19 Dec 2022 15:03:57 -0700 Subject: [PATCH] try to get BBTRulerDrag to work on all platforms --- gtk2_ardour/editor_mouse.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index f93cddf6e2..9a4d534781 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -838,8 +838,7 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT if (!Keyboard::modifier_state_equals (event->button.state, Keyboard::PrimaryModifier) && !ArdourKeyboard::indicates_constraint (event->button.state)) { _drags->set (new CursorDrag (this, *_playhead_cursor, false), event); - } else if (ArdourKeyboard::indicates_constraint (event->button.state) - && Keyboard::modifier_state_contains (event->button.state, Keyboard::PrimaryModifier)) { + } else if (Keyboard::modifier_state_equals (event->button.state, Keyboard::PrimaryModifier|Keyboard::TertiaryModifier)) { _drags->set (new TempoTwistDrag (this, item), event); } else if (Keyboard::modifier_state_contains (event->button.state, Keyboard::PrimaryModifier)) { _drags->set (new BBTRulerDrag (this, item), event);