summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2017-07-18 03:10:07 +1000
committernick_m <mainsbridge@gmail.com>2017-07-22 02:15:20 +1000
commit1c51435fa35e6a5a60076b3226beac1dc8172cb1 (patch)
treec38f9e5dbaa51b4d6233369d1d85c2e3168d37ea /gtk2_ardour/editor_drag.cc
parent90547112e250cea1e14736adfda4d78b0b50baec (diff)
Calculate clamped tempo stretch ratios using the correct (musical) domain
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r--gtk2_ardour/editor_drag.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc
index be2cbbcf06..02f827b579 100644
--- a/gtk2_ardour/editor_drag.cc
+++ b/gtk2_ardour/editor_drag.cc
@@ -3628,7 +3628,7 @@ BBTRulerDrag::motion (GdkEvent* event, bool first_move)
if (ArdourKeyboard::indicates_constraint (event->button.state)) {
/* adjust previous tempo to match pointer frame */
- _editor->session()->tempo_map().gui_stretch_tempo (_tempo, map.frame_at_quarter_note (_grab_qn), pf);
+ _editor->session()->tempo_map().gui_stretch_tempo (_tempo, map.frame_at_quarter_note (_grab_qn), pf, _grab_qn, map.quarter_note_at_frame (pf));
}
ostringstream sstr;