mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Keep the CCTV panel through Context isolation, and collapse through the panel chrome
Contacts and Space Missions switch CCTV off to isolate themselves and restore it on the way out: the panel and its share preference now stay as they are for that round trip, as they do for Clear selected data layers. The controls no longer read the collapsed class before asking: the panel chrome tells a panel the accordion folded from one whose saved state is closed. The camera controls gate asserts the collapse, reopens CCTV from the right rail before switching it back on, and runs a Contacts entry and exit with the panel open.
This commit is contained in:
1 parent
7f18943ec4
commit
f29b0b2639
9 files changed
+166
-18
No files matched your search
@@ -891,6 +891,10 @@ export class ShellFacade {
|
||||
return this._contextControls?._preservePanelStateDuringLayerClear ?? false;
|
||||
}
|
||||
|
||||
_contextSuspendsLayer(layerId) {
|
||||
return this._contextControls?.suspendsLayer(layerId) ?? false;
|
||||
}
|
||||
|
||||
_runUserFacingContextAction(...args) {
|
||||
return this._contextControls?._runUserFacingContextAction(...args);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user