A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.
JavaScript 3d-globecesiumflight-trackinggeospatialgeospatial-intelligencegisosintphotogrammetrysatellite-trackingspatial-intelligencewebglworldview
fix(ui): enforce Context ownership before disclosure no-op
Kevin Rajana4ce7381d88f
diff --git a/src/ui/panelChrome.js b/src/ui/panelChrome.jsindex 30266312a..6464f1588 100644--- a/src/ui/panelChrome.js+++ b/src/ui/panelChrome.js@@ -474,6 +474,17 @@ export class PanelChrome {syncShare,});}+ // Parent ownership is an invariant even on a no-op disclosure request.+ // A stale compact Radio disclosure is absolutely positioned outside the+ // measured Context rail; clear it before returning from an already-open+ // Context request so it cannot paint over the active Context body.+ if (+ !nextCollapsed &&+ panelId === 'global-context-panel' &&+ this._contextRadioDock?.classList.contains('disclosure-open')+ ) {+ this._setRadioDisclosure?.(false);+ }if (panelEl.classList.contains('collapsed') === nextCollapsed &&!wasAutoCollapsed@@ -502,13 +513,6 @@ export class PanelChrome {this.cockpitView.setContextCollapsed(true);}}- if (- !nextCollapsed &&- panelId === 'global-context-panel' &&- this._contextRadioDock?.classList.contains('disclosure-open')- ) {- this._setRadioDisclosure?.(false);- }if (!nextCollapsed &&panelId === 'radio-panel' &&