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

Free ControlToolBar from cycles. That's all the toolbars now!

This commit is contained in:
Paul Licameli
2019-07-03 21:38:06 -04:00
parent acfd2b7010
commit 500ccb60b3
5 changed files with 16 additions and 18 deletions

View File

@@ -687,6 +687,16 @@ void Scrubber::ContinueScrubbingUI()
}
}
bool Scrubber::IsTransportingPinned() const
{
if (!TracksPrefs::GetPinnedHeadPreference())
return false;
return
!(HasMark() &&
!WasSpeedPlaying() &&
!ShouldScrubPinned());
}
void Scrubber::StartPolling()
{
mPaused = false;

View File

@@ -127,6 +127,8 @@ public:
bool IsPaused() const;
void CheckMenuItems();
bool IsTransportingPinned() const;
private:
void StartPolling();
void StopPolling();