mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
fix nudge/duration clocks when scrolling in BBT mode
This commit is contained in:
parent
9f85a0aaba
commit
ad9757e73c
1 changed files with 1 additions and 1 deletions
|
|
@ -1823,7 +1823,7 @@ AudioClock::on_scroll_event (GdkEventScroll *ev)
|
|||
step *= 10;
|
||||
}
|
||||
if (is_duration) {
|
||||
if (current_duration () >= timecnt_t (step)) { // XXX this is not right, also step for BBT is too small
|
||||
if (!(current_duration () - step).is_negative()) {
|
||||
AudioClock::set_duration (current_duration () - step, true);
|
||||
}
|
||||
} else if (!_negative_allowed && last_when() < step) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue