Extend local draft storage to include 'wireframe' display mode

This commit is contained in:
2026-04-04 19:05:12 +02:00
parent 1f8a112f0e
commit efad6ab92a

View File

@@ -116,7 +116,7 @@ function parseViewportLayoutState(value: unknown): ViewportLayoutState | null {
if (
(storedViewMode !== "perspective" && storedViewMode !== "top" && storedViewMode !== "front" && storedViewMode !== "side") ||
(storedDisplayMode !== "normal" && storedDisplayMode !== "authoring") ||
(storedDisplayMode !== "normal" && storedDisplayMode !== "authoring" && storedDisplayMode !== "wireframe") ||
storedCameraState === null ||
storedPerspectiveOrbit === null ||
storedTarget === null