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

Scrolling drag scrub tracks the mouse much better

This commit is contained in:
Paul Licameli 2016-05-28 08:34:39 -04:00
parent 627fc1ca40
commit fbcdc6b28f

View File

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