From 9629a5788c9ab64cd0f308cf4d7cc8d83b722960 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Mon, 9 Mar 2026 16:07:52 +0100 Subject: [PATCH] Add very slow auto-rotation to Globe (pauses on drag) --- components/dashboard/Globe.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/dashboard/Globe.tsx b/components/dashboard/Globe.tsx index 4487fe4..1847706 100644 --- a/components/dashboard/Globe.tsx +++ b/components/dashboard/Globe.tsx @@ -92,6 +92,7 @@ export default function Globe({ data, className }: GlobeProps) { width: widthRef.current * 2, height: widthRef.current * 2, onRender: (state) => { + if (!pointerInteracting.current) phiRef.current += 0.002 state.phi = phiRef.current + rs.get() state.width = widthRef.current * 2 state.height = widthRef.current * 2