summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2017-02-26 07:03:02 +1100
committerRobin Gareus <robin@gareus.org>2017-02-27 20:16:10 +0100
commit8e944953c6c0ef210c36fd9a2e9d60f3e5a6766a (patch)
tree0030e622115ce77cfcd7a000b9ae4366590eca9f /gtk2_ardour/editor_mouse.cc
parentf4d51ee0d0976fb6310f3399249e7ea1b9c47210 (diff)
highlight the tempo curve that is to be altered, modify text to suit.
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r--gtk2_ardour/editor_mouse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc
index 20aa9d2a18..872912e6de 100644
--- a/gtk2_ardour/editor_mouse.cc
+++ b/gtk2_ardour/editor_mouse.cc
@@ -737,7 +737,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)
+ } else if (Keyboard::modifier_state_contains (event->button.state, Keyboard::TertiaryModifier)
&& Keyboard::modifier_state_contains (event->button.state, Keyboard::SecondaryModifier)) {
_drags->set (new TempoTwistDrag (this, item), event);
} else if (ArdourKeyboard::indicates_constraint (event->button.state)) {