mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-12 06:01:13 +02:00
Bug 2565 - (Residual) Fix auto-scroll regression.
My fix for 2565 broke autoscroll. Scrubbing can be 'paused' when it is not active! This meant that paused scrubbing could stop autoscroll of normal play. The fix is to only suppress the autoscroll if scrubbing is active and paused.
This commit is contained in:
parent
716c7794e0
commit
7428c61060
@ -202,8 +202,12 @@ void PlayIndicatorOverlay::OnTimer(wxCommandEvent &event)
|
||||
auto mode = ProjectAudioManager::Get( *mProject ).GetLastPlayMode();
|
||||
if (!pinned &&
|
||||
mode != PlayMode::oneSecondPlay &&
|
||||
!gAudioIO->IsPaused() &&
|
||||
!scrubber.IsPaused()
|
||||
!gAudioIO->IsPaused() &&
|
||||
// Bug 2656 allow scrolling when paused in
|
||||
// scrubbing/play-at-speed.
|
||||
// ONLY do this additional test if scrubbing/play-at-speed
|
||||
// is active.
|
||||
(!scrubber.IsScrubbing() || !scrubber.IsPaused())
|
||||
)
|
||||
{
|
||||
auto newPos = playPos;
|
||||
|
Loading…
x
Reference in New Issue
Block a user