fix(layers): pause periodic network updates in hidden tabs

This commit is contained in:
Said committed 2026-10-20 01:25:40 +01:00
1 parent de2138e84c
commit ec0985618c
7 files changed
+81 -18

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ export { layerFeedState } from '../ui/layers.js';
/** Compatibility facade for callers that construct a manager with its panel. */
export class DataLayerManager extends LayerLifecycle {
constructor(viewer, options) {
super(viewer, options);
super(viewer, { visibilityTarget: globalThis.document, ...options });
this._presentation = new LayerPresentation(this);
}
buildTogglePanel(container) {