mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
Minor fix to my commit e030225
Forgot that the initial speed can be negative.
This commit is contained in:
@@ -608,6 +608,8 @@ bool Scrubber::StartKeyboardScrubbing(double time0, bool backwards)
|
||||
mOptions.minStutterTime = mOptions.delay;
|
||||
|
||||
mOptions.initSpeed = GetKeyboardScrubbingSpeed();
|
||||
if (backwards)
|
||||
mOptions.initSpeed *= -1.0;
|
||||
mOptions.minSpeed = ScrubbingOptions::MinAllowedScrubSpeed();
|
||||
mOptions.maxSpeed = ScrubbingOptions::MaxAllowedScrubSpeed();
|
||||
mOptions.minTime = 0;
|
||||
|
||||
Reference in New Issue
Block a user