13
0

Enable snap for tempo dilation.

This commit is contained in:
nick_m 2016-05-28 03:21:16 +10:00
parent 062e17a542
commit 2d7f755df6

View File

@ -3468,7 +3468,7 @@ BBTRulerDrag::motion (GdkEvent* event, bool first_move)
_editor->begin_reversible_command (_("dilate tempo")); _editor->begin_reversible_command (_("dilate tempo"));
} }
framepos_t const pf = adjusted_current_frame (event, false); framepos_t const pf = adjusted_current_frame (event);
if (Keyboard::modifier_state_contains (event->button.state, ArdourKeyboard::constraint_modifier())) { if (Keyboard::modifier_state_contains (event->button.state, ArdourKeyboard::constraint_modifier())) {
/* adjust previous tempo to match pointer frame */ /* adjust previous tempo to match pointer frame */