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
043b76569d
commit
80d1631aa3
@ -4350,7 +4350,10 @@ SelectionDrag::finished (GdkEvent* event, bool movement_occurred)
|
|||||||
s->request_play_range (&_editor->selection->time, true);
|
s->request_play_range (&_editor->selection->time, true);
|
||||||
} else {
|
} else {
|
||||||
if (Config->get_follow_edits() && !s->transport_rolling()) {
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1013,10 +1013,6 @@ Editor::time_selection_changed ()
|
|||||||
} else {
|
} else {
|
||||||
ActionManager::set_sensitive (ActionManager::time_selection_sensitive_actions, true);
|
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 */
|
/** Set all region actions to have a given sensitivity */
|
||||||
|
Loading…
Reference in New Issue
Block a user