mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 00:51:13 +02:00
Minor fix to my commit e030225
Forgot that the initial speed can be negative.
This commit is contained in:
parent
2430582e90
commit
d28c2417db
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user