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:
@@ -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;
|
||||
|
||||
@@ -127,6 +127,8 @@ public:
|
||||
bool IsPaused() const;
|
||||
void CheckMenuItems();
|
||||
|
||||
bool IsTransportingPinned() const;
|
||||
|
||||
private:
|
||||
void StartPolling();
|
||||
void StopPolling();
|
||||
|
||||
Reference in New Issue
Block a user