diff --git a/client/src/components/simple-carousel.tsx b/client/src/components/simple-carousel.tsx index a3a5bab..e88c3fa 100644 --- a/client/src/components/simple-carousel.tsx +++ b/client/src/components/simple-carousel.tsx @@ -32,7 +32,7 @@ export default function SimpleCarousel({ category, onVideoClick }: SimpleCarouse scrollIntervalRef.current = setInterval(() => { if (!scrollContainerRef.current) return; - const currentSpeed = newSpeed === 'fast' ? 8 : 3; + const currentSpeed = newSpeed === 'fast' ? 3 : 1.5; const scrollAmount = direction === 'right' ? currentSpeed : -currentSpeed; scrollContainerRef.current.scrollBy({ left: scrollAmount, @@ -57,7 +57,7 @@ export default function SimpleCarousel({ category, onVideoClick }: SimpleCarouse scrollIntervalRef.current = setInterval(() => { if (!scrollContainerRef.current) return; - const currentSpeed = speed === 'fast' ? 8 : 3; + const currentSpeed = speed === 'fast' ? 3 : 1.5; const scrollAmount = direction === 'right' ? currentSpeed : -currentSpeed; scrollContainerRef.current.scrollBy({ left: scrollAmount,