fix(satellites): a hidden class takes the ISS ring, label and docked names

Class toggles only hid points: with Stations off the ISS's orbit ring and
its label still drew, and each catalog refresh showed the ring again. The
ring and label now follow the ISS's class, and the tracked card no longer
names a docked companion whose class is hidden.

A failed Starlink load reverted to the core catalog without applying class
visibility again, so the core catalog's own Starlink points stayed on while
the chip, legend and lists said Starlink was off, and classes.starlink kept
reading true. Both are put right on failure.
This commit is contained in:
Sameh Khamis committed 2026-11-08 15:16:01 -08:00
1 parent 8bd16b0be9
commit b59eb8b18c
5 files changed
+105 -7

No files matched your search

+4 -1
View File
@@ -356,7 +356,10 @@ export function createIngestion({
if (layerState._catalog.has(ISS_NORAD)) {
parts.rendering._showOrbitPath(ISS_NORAD, POINT_STYLES.iss.color);
const issPath = layerState._orbitPaths.get(ISS_NORAD);
if (issPath) issPath.primitive.show = layerState._params.showOrbits;
if (issPath)
issPath.primitive.show =
layerState._params.showOrbits &&
parts.controls._classVisible(ISS_NORAD);
parts.labels._syncIssOverlay();
}