From bb60591317a6da38d0b5f20768c67e4ad3fd3549 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Fri, 27 Feb 2026 06:40:30 +1300 Subject: [PATCH] fix: add missing conditionalSwitch to WorkflowCanvas defaultDimensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pre-existing type error — conditionalSwitch was added to NodeType but the local defaultDimensions map in keyboard shortcut handler was not updated. Co-Authored-By: Claude Opus 4.6 --- src/components/WorkflowCanvas.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/WorkflowCanvas.tsx b/src/components/WorkflowCanvas.tsx index 2ae6d4fd..28e42c67 100644 --- a/src/components/WorkflowCanvas.tsx +++ b/src/components/WorkflowCanvas.tsx @@ -1152,6 +1152,9 @@ export function WorkflowCanvas() { easeCurve: { width: 340, height: 480 }, videoTrim: { width: 360, height: 360 }, videoFrameGrab: { width: 320, height: 320 }, + router: { width: 200, height: 80 }, + switch: { width: 220, height: 120 }, + conditionalSwitch: { width: 260, height: 180 }, glbViewer: { width: 360, height: 380 }, }; const dims = defaultDimensions[nodeType];