Browse Source

fix: add missing conditionalSwitch to WorkflowCanvas defaultDimensions

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 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 5 months ago
parent
commit
bb60591317
  1. 3
      src/components/WorkflowCanvas.tsx

3
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];

Loading…
Cancel
Save