fix: keep wall-hosted passages open in static view

Issue: #282
User-Visible: yes
This commit is contained in:
Matysh
2026-08-26 02:53:19 +03:00
parent fb6cc3ca2d
commit f37efdad8a
7 changed files with 26 additions and 19 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ export function renderSpaceStatic(o: StaticRenderOpts): TemplateResult | null {
const canonicalWallGeometry = needsCanonicalWallGeometry
? cachedStaticWallGeometry(o.cfg, space.id, wallGeometryFingerprint, () => wallBodiesUnionPath(
space.rooms, walls, [], [
...staticPassages.filter((opening) => !opening.host).map((opening) => ({
...staticPassages.filter((opening) => opening.host?.kind !== 'partition').map((opening) => ({
x: opening.rx, y: opening.ry, angle: opening.angle, length: opening.rlen,
})),
...hostedCompositeOpenings,