mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-20 04:15:46 +01:00
Fix positions before start and after end
This commit is contained in:
parent
35022caf4f
commit
0130f19e26
1 changed files with 5 additions and 1 deletions
|
|
@ -463,7 +463,11 @@ OSCGlobalObserver::mark_update ()
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (prev == next) {
|
||||
if (_last_sample > lm[lm.size() - 1].when) {
|
||||
send_str = string_compose ("%1 <-", lm[lm.size() - 1].label);
|
||||
} else if (_last_sample < lm[0].when) {
|
||||
send_str = string_compose ("-> %1", lm[0].label);
|
||||
} else if (prev == next) {
|
||||
send_str = lm[prev].label;
|
||||
prev_mark = lm[prev].when;
|
||||
next_mark = lm[next].when;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue