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

Bug 1421 - When Scrubbing the Play button in the Transport Toolbar should not change its icon

This commit is contained in:
James Crook 2016-08-10 21:00:41 +01:00
parent 75f1f30fcb
commit 48ad701e57

View File

@ -282,9 +282,11 @@ void Scrubber::MarkScrubStart(
mSeeking = seek; mSeeking = seek;
ctb->SetPlay(true, mSeeking ctb->SetPlay(true, ControlToolBar::PlayAppearance::Straight );
? ControlToolBar::PlayAppearance::Seek // Commented out for Bug 1421
: ControlToolBar::PlayAppearance::Scrub); // mSeeking
// ? ControlToolBar::PlayAppearance::Seek
// : ControlToolBar::PlayAppearance::Scrub);
mScrubStartPosition = xx; mScrubStartPosition = xx;
ctb->UpdateStatusBar(mProject); ctb->UpdateStatusBar(mProject);
@ -375,9 +377,12 @@ bool Scrubber::MaybeStartScrubbing(wxCoord xx)
#endif #endif
lrint(std::max(0.0, MinStutter) * options.rate); lrint(std::max(0.0, MinStutter) * options.rate);
ControlToolBar::PlayAppearance appearance = mSeeking ControlToolBar::PlayAppearance appearance =
? ControlToolBar::PlayAppearance::Seek // commented out to fix Bug 1241
: ControlToolBar::PlayAppearance::Scrub; // mSeeking
// ? ControlToolBar::PlayAppearance::Seek
// : ControlToolBar::PlayAppearance::Scrub;
ControlToolBar::PlayAppearance::Straight;
const bool cutPreview = false; const bool cutPreview = false;
const bool backwards = time1 < time0; const bool backwards = time1 < time0;
#ifdef EXPERIMENTAL_SCRUBBING_SCROLL_WHEEL #ifdef EXPERIMENTAL_SCRUBBING_SCROLL_WHEEL