Add 'wireframe' display mode to viewport layout

This commit is contained in:
2026-04-04 19:05:03 +02:00
parent 65bffc2ec8
commit 1e347c004e

View File

@@ -4,7 +4,7 @@ import type { ViewportViewMode } from "./viewport-view-modes";
export type ViewportLayoutMode = "single" | "quad";
export type ViewportDisplayMode = "normal" | "authoring";
export type ViewportDisplayMode = "normal" | "authoring" | "wireframe";
export type ViewportPanelId = "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
@@ -168,7 +168,8 @@ const VIEWPORT_LAYOUT_MODE_LABELS: Record<ViewportLayoutMode, string> = {
const VIEWPORT_DISPLAY_MODE_LABELS: Record<ViewportDisplayMode, string> = {
normal: "Normal",
authoring: "Authoring"
authoring: "Authoring",
wireframe: "Wireframe"
};
export function getViewportPanelLabel(panelId: ViewportPanelId): string {