mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 15:36:24 +01:00
if a Range end is trimmed, in follow-edits mode, locate to the range end so it can be auditioned. (same as trimming a region end)
This commit is contained in:
parent
2be8f11a3e
commit
2b726333d1
2 changed files with 4 additions and 5 deletions
|
|
@ -4349,7 +4349,10 @@ SelectionDrag::finished (GdkEvent* event, bool movement_occurred)
|
|||
s->request_play_range (&_editor->selection->time, true);
|
||||
} else {
|
||||
if (Config->get_follow_edits() && !s->transport_rolling()) {
|
||||
s->request_locate (_editor->get_selection().time.start());
|
||||
if (_operation == SelectionEndTrim)
|
||||
_editor->maybe_locate_with_edit_preroll( _editor->get_selection().time.end_frame());
|
||||
else
|
||||
s->request_locate (_editor->get_selection().time.start());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1086,10 +1086,6 @@ Editor::time_selection_changed ()
|
|||
} else {
|
||||
ActionManager::set_sensitive (ActionManager::time_selection_sensitive_actions, true);
|
||||
}
|
||||
|
||||
if (_session && Config->get_follow_edits() && !_session->transport_rolling() && !selection->time.empty()) {
|
||||
_session->request_locate (selection->time.start());
|
||||
}
|
||||
}
|
||||
|
||||
/** Set all region actions to have a given sensitivity */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue