1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-04 16:14:00 +01:00

Bug 2656 - Cannot horizontal scroll when paused in play-at-speed.

This commit is contained in:
James Crook
2021-02-04 21:49:29 +00:00
parent fef877324d
commit 0e20a0873f

View File

@@ -192,6 +192,7 @@ void PlayIndicatorOverlay::OnTimer(wxCommandEvent &event)
viewInfo.GetScreenEndTime() + tolerance);
auto gAudioIO = AudioIO::Get();
const auto &scrubber = Scrubber::Get( *mProject );
// BG: Scroll screen if option is set
if( viewInfo.bUpdateTrackIndicator &&
@@ -201,7 +202,9 @@ void PlayIndicatorOverlay::OnTimer(wxCommandEvent &event)
auto mode = ProjectAudioManager::Get( *mProject ).GetLastPlayMode();
if (!pinned &&
mode != PlayMode::oneSecondPlay &&
!gAudioIO->IsPaused())
!gAudioIO->IsPaused() &&
!scrubber.IsPaused()
)
{
auto newPos = playPos;
if (playPos < viewInfo.h) {