revert: keep inspection semantic layers visible

This commit is contained in:
2026-08-07 13:32:17 +08:00
parent 22f306249d
commit 808266127d

View File

@@ -258,8 +258,6 @@
const label = document.createElement("label");
const input = document.createElement("input");
input.type = "checkbox";
// Road observation is the primary workflow. Keep the optional semantic
// layers available, but avoid letting buildings obscure the first view.
input.checked = false;
input.dataset.assetId = asset.id;
input.addEventListener("change", async () => {
@@ -349,9 +347,8 @@
}
return;
}
const roadFocus = asset.id === "roads";
model.show = roadFocus;
if (asset.toggle) asset.toggle.checked = roadFocus;
model.show = true;
if (asset.toggle) asset.toggle.checked = true;
}));
if (viewMode !== "inspect") {
for (const asset of semanticAssets(assets)) {