From 8c9c7112965a6c2bbd87b32fcb111406c3d2bca4 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Mon, 9 Mar 2026 21:56:38 +0100 Subject: [PATCH] =?UTF-8?q?Make=20Globe=20drag=20more=20responsive=20(damp?= =?UTF-8?q?ing=203000=E2=86=92800)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/dashboard/Globe.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dashboard/Globe.tsx b/components/dashboard/Globe.tsx index fdeeb9f..173fe2a 100644 --- a/components/dashboard/Globe.tsx +++ b/components/dashboard/Globe.tsx @@ -91,14 +91,14 @@ export default function Globe({ data, className }: GlobeProps) { onMouseMove={(e) => { if (pointerRef.current !== null) { const delta = e.clientX - pointerRef.current - dragRef.current += delta / 3000 + dragRef.current += delta / 800 pointerRef.current = e.clientX } }} onTouchMove={(e) => { if (pointerRef.current !== null && e.touches[0]) { const delta = e.touches[0].clientX - pointerRef.current - dragRef.current += delta / 3000 + dragRef.current += delta / 800 pointerRef.current = e.touches[0].clientX } }}