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
View File
@@ -97,6 +97,7 @@ export function createLifecycle({ state, services, parts }) {
else if (hidden) {
hidden = false;
parts.rendering.resumePlayback();
parts.viewport.runProximityCheck();
}
}
function bindVisibility() {