mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
playhead priority: if rolling and range selection vanishes while we are paying attention, ignore the change
This commit is contained in:
parent
5cdd708648
commit
9630d83573
1 changed files with 9 additions and 1 deletions
|
|
@ -481,7 +481,15 @@ Session::select_playhead_priority_target (framepos_t& jump_to)
|
|||
if (jump_to < 0 && (autoreturn & RangeSelectionStart)) {
|
||||
if (!_range_selection.empty()) {
|
||||
jump_to = _range_selection.from;
|
||||
}
|
||||
} else {
|
||||
if (transport_rolling()) {
|
||||
/* Range selection no longer exists, but we're playing,
|
||||
so do nothing. Next stop will put us where
|
||||
we need to be.
|
||||
*/
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (jump_to < 0 && (autoreturn & Loop)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue