mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Tempo ramps - disallow tempo dilation on first meter.
This commit is contained in:
parent
e0607ca913
commit
601ac8565d
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue