1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-09 16:41:14 +02:00

Scrolling drag scrub tracks the mouse much better

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

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;