From c41138f62abb07faf6d0901a40364a70004b2be4 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 6 Mar 2026 01:18:35 +0100 Subject: [PATCH] fix: stop globe auto-rotation on point click Rotation continued while browsing stations, making selection impossible. Now stops immediately when clicking any radio point. Co-Authored-By: Claude Opus 4.6 --- web/src/plugins/radio/RadioTab.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/plugins/radio/RadioTab.tsx b/web/src/plugins/radio/RadioTab.tsx index 93e33bf..43f5728 100644 --- a/web/src/plugins/radio/RadioTab.tsx +++ b/web/src/plugins/radio/RadioTab.tsx @@ -99,6 +99,9 @@ export default function RadioTab({ data }: { data: any }) { setShowFavorites(false); setStationsLoading(true); setStations([]); + // Stop auto-rotation on point click so user can browse stations + const controls = globeRef.current?.controls() as any; + if (controls) controls.autoRotate = false; if (globeRef.current) { // Radio Garden geo format: [lng, lat] globeRef.current.pointOfView({ lat: point.geo[1], lng: point.geo[0], altitude: 0.4 }, 800);