diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index fb975fb..9501e37 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -164,8 +164,8 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { scrollIntervalRef.current = setInterval(() => { setTranslateX(prev => { - // Use current speed mode for toggle function only - const currentSpeed = speedMode === 'fast' ? 3.5 : 2.0; + // Use the NEW speed that was just set + const currentSpeed = newSpeed === 'fast' ? 3.5 : 2.0; const speed = direction === 'right' ? -currentSpeed : currentSpeed; const newX = prev + speed; const totalWidth = category.videos.length * videoWidth;