diff --git a/js/ui/environment.js b/js/ui/environment.js index 4853a83d5..8c790da67 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -464,7 +464,7 @@ function adjustAnimationTime(msecs) { let settings = St.Settings.get(); if (!settings.enable_animations) - return 1; + return Math.min(msecs, 1); return settings.slow_down_factor * msecs; }