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

Bug924, addendum: pause scrubbing when Audacity loses focus...

... And it resumes if Audacity regains focus.

Actually this fix causes pausing and resuming depending on whether Track Panel
has focus, so clicks in other parts of the Audacity window may also pause the
scrubbing.  I hope that is acceptable.
This commit is contained in:
Paul Licameli
2015-05-27 20:14:32 -04:00
parent f07a487e47
commit e60057fd85
2 changed files with 17 additions and 2 deletions

View File

@@ -783,6 +783,7 @@ protected:
wxCoord mScrubStartPosition;
double mMaxScrubSpeed;
int mScrubSpeedDisplayCountdown;
bool mScrubHasFocus;
#endif
#ifdef EXPERIMENTAL_SCRUBBING_SMOOTH_SCROLL