From bfafe884151ee2259ddde22c958f588cfd436885 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Tue, 2 Sep 2025 15:49:27 +0000 Subject: [PATCH] Improve hover effect for video scrubbing with visual cues Update video card component to refine the mouse-scrubbing animation and delay timers. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/4DOsXkx --- client/src/components/video-card.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index b9569cc..a61b8df 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -90,7 +90,7 @@ export default function VideoCard({ video, onClick, className = "", hideOverlay if (window.innerWidth >= 768) { hintTimeoutRef.current = setTimeout(() => { setShowHint(true); - }, 300); + }, 200); const delay = 800; hoverTimeoutRef.current = setTimeout(() => { @@ -293,17 +293,16 @@ export default function VideoCard({ video, onClick, className = "", hideOverlay {/* Mouse scrub animation */} -