From 9f85a0aaba0aebf7126ad9560479f4911c52a6f0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 7 Dec 2022 11:12:58 -0700 Subject: [PATCH] fix behavior of duration clocks when scrolling in all modes except BBT --- gtk2_ardour/audio_clock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index f5774a200d..6cdb8bf661 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -1974,7 +1974,7 @@ AudioClock::current_duration (timepos_t pos) const case MinSec: case Seconds: case Samples: - ret = timecnt_t (last_when(), pos); + ret = last_time; break; }