Tempo ramps - disallow tempo dilation on first meter.

This commit is contained in:
nick_m 2016-04-26 04:08:03 +10:00
parent e0607ca913
commit 601ac8565d

View File

@ -3212,8 +3212,11 @@ MeterMarkerDrag::motion (GdkEvent* event, bool first_move)
_editor->session()->tempo_map().gui_move_meter (_real_section, pulse);
}
} else {
/* AudioTime */
if (Keyboard::modifier_state_equals (event->button.state, ArdourKeyboard::constraint_modifier ())) {
_editor->session()->tempo_map().gui_dilate_tempo (_real_section, pf);
if (_real_section->movable()) {
_editor->session()->tempo_map().gui_dilate_tempo (_real_section, pf);
}
} else {
_editor->session()->tempo_map().gui_move_meter (_real_section, pf);
}