1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-12 15:45:54 +01:00

Scrolling drag scrub tracks the mouse much better

This commit is contained in:
Paul Licameli
2016-05-28 12:16:05 -04:00

View File

@@ -358,7 +358,7 @@ bool Scrubber::MaybeStartScrubbing(wxCoord xx)
mOptions.maxSample =
lrint(std::max(0.0, mProject->GetTracks()->GetEndTime()) * options.rate);
mOptions.minStutter =
lrint(std::max(0.0, MinStutter) * options.rate);
mDragging ? 0.0 : lrint(std::max(0.0, MinStutter) * options.rate);
ControlToolBar::PlayAppearance appearance =
ControlToolBar::PlayAppearance::Scrub;