diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 3dfacfa1..c7a7b475 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,7 +180,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { let slowdown = if config.animations.off { 0. } else { - config.animations.slowdown + config.animations.slowdown.clamp(0., 100.) }; animation::ANIMATION_SLOWDOWN.store(slowdown, Ordering::Relaxed); |
