From 13be9c189ecbd2231e76b49b923499f132c98c15 Mon Sep 17 00:00:00 2001 From: James Smith Date: Tue, 30 Dec 2025 15:28:37 +0000 Subject: [PATCH] Fix satellite tab to redraw polar plot with trajectory on position update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The polar plot now redraws the pass trajectory before overlaying the current position indicator, matching the dashboard behavior. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- templates/index.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/index.html b/templates/index.html index f90fbb1..0efc508 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8548,9 +8548,13 @@ } } - // Update polar plot with real-time position - if (pos.elevation > 0) { - drawRealTimePositionOnPolar(pos); + // Update polar plot with pass trajectory and real-time position + if (selectedPass) { + drawPolarPlot(selectedPass); + // Draw current position on top if satellite is visible + if (pos.elevation > 0) { + drawRealTimePositionOnPolar(pos); + } } } });