From d717f6ac3e74f6efa65a615131d43d0d14704366 Mon Sep 17 00:00:00 2001 From: N3TC4T Date: Thu, 31 Oct 2024 23:39:06 +0100 Subject: [PATCH] chore: let's make it five seconds --- src/components/General/Slider/Slider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/General/Slider/Slider.tsx b/src/components/General/Slider/Slider.tsx index 69cb2e3d5..e19321112 100644 --- a/src/components/General/Slider/Slider.tsx +++ b/src/components/General/Slider/Slider.tsx @@ -10,7 +10,7 @@ import styles from './styles'; /* Constants ==================================================================== */ const FLOAT_EPSILON = 2 ** -23; -const AUTO_SCROLL_INTERVAL = 3000; // 3s +const AUTO_SCROLL_INTERVAL = 5000; // 5s function equal(a: number, b: number) { return Math.abs(a - b) <= FLOAT_EPSILON * Math.max(Math.abs(a), Math.abs(b));