mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-29 06:38:38 +02:00
Bug 1457 - Transport Menu "Scrub" and "Seek" do not correctly indicate when either Scrubbing mode is active
This commit is contained in:
parent
8dd93ef2a8
commit
e96edb8f26
@ -546,6 +546,7 @@ void Scrubber::StopScrubbing()
|
||||
}
|
||||
|
||||
mProject->GetRulerPanel()->HideQuickPlayIndicator();
|
||||
CheckMenuItems();
|
||||
}
|
||||
|
||||
bool Scrubber::ShowsBar() const
|
||||
@ -613,6 +614,8 @@ bool Scrubber::Seeks() const
|
||||
|
||||
bool Scrubber::Scrubs() const
|
||||
{
|
||||
if( Seeks() )
|
||||
return false;
|
||||
return (HasStartedScrubbing() || IsScrubbing()) && !ChoseSeeking();
|
||||
}
|
||||
|
||||
@ -897,11 +900,13 @@ void Scrubber::OnScrubOrSeek(bool seek)
|
||||
void Scrubber::OnScrub(wxCommandEvent&)
|
||||
{
|
||||
OnScrubOrSeek(false);
|
||||
CheckMenuItems();
|
||||
}
|
||||
|
||||
void Scrubber::OnSeek(wxCommandEvent&)
|
||||
{
|
||||
OnScrubOrSeek(true);
|
||||
CheckMenuItems();
|
||||
}
|
||||
|
||||
void Scrubber::OnToggleScrubBar(wxCommandEvent&)
|
||||
|
Loading…
x
Reference in New Issue
Block a user