mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Collapse the CCTV panel when the layer is switched off
The panel opened itself when a camera became active, but nothing closed it when the layer went off: it stayed expanded, empty, and its meta line still described the last camera. The collapse runs only on the on-to-off change, so a panel opened by hand while the layer is off stays open, and a context-mode layer clear keeps the panel as Radio does.
This commit is contained in:
1 parent
7df581765d
commit
0325805eb0
4 files changed
+97
-1
No files matched your search
@@ -54,6 +54,7 @@ export class CctvControls {
|
||||
this._cctvSummaryTypingTimer = null;
|
||||
this._lastCctvSummaryText = '';
|
||||
this._lastSeenCctvActiveId = null;
|
||||
this._wasCctvEnabled = false;
|
||||
this._cctvChipHideTimer = null;
|
||||
this._cctvChipWasBusy = false;
|
||||
// The camera grid chip as last published; its label stays while hidden.
|
||||
|
||||
Reference in new issue
Block a user