From be30dec98ac2afcaff9905364edd51309838954c Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 23:30:27 +0000 Subject: [PATCH] Adjust swipe sensitivity for video navigation Modify swipe detection threshold in VideoPage.tsx from 50px to 20px for more responsive video navigation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 344ec1e0-1186-4058-bbff-2e9619a7b1e0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/344ec1e0-1186-4058-bbff-2e9619a7b1e0/zJYuV6w --- client/src/pages/VideoPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index 6628211..527e732 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -167,8 +167,8 @@ export default function VideoPage() { if (!touchStart || !touchEnd) return; const distance = touchStart - touchEnd; - const isLeftSwipe = distance > 50; - const isRightSwipe = distance < -50; + const isLeftSwipe = distance > 20; + const isRightSwipe = distance < -20; if (isLeftSwipe) { navigateToVideo('next');