fix: make plan visuals grid-scale invariant

Issue: #239
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-08-22 13:45:26 +03:00
parent a4e8dd7ba7
commit 0d91c1e18e
31 changed files with 2017 additions and 963 deletions
+2
View File
@@ -65,6 +65,8 @@ export type WallColumnCfg =
export interface SpaceModel {
id: string;
title: string;
/** Canonical centimetres represented by one stored grid cell. */
cellCm?: number;
vb: number[]; // render units
bg: { href: string; x: number; y: number; w: number; h: number; angle?: number } | null;
rooms: RoomCfg[]; // render units