Browse Source

fix: add missing conditionalSwitch dimensions in WorkflowCanvas

The inline defaultDimensions record in the keyboard shortcut handler was
missing the conditionalSwitch entry, causing a TypeScript build error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 5 months ago
parent
commit
0e4f5e6777
  1. 1
      src/components/WorkflowCanvas.tsx

1
src/components/WorkflowCanvas.tsx

@ -1346,6 +1346,7 @@ export function WorkflowCanvas() {
videoFrameGrab: { width: 320, height: 320 }, videoFrameGrab: { width: 320, height: 320 },
router: { width: 200, height: 80 }, router: { width: 200, height: 80 },
switch: { width: 220, height: 120 }, switch: { width: 220, height: 120 },
conditionalSwitch: { width: 260, height: 180 },
glbViewer: { width: 360, height: 380 }, glbViewer: { width: 360, height: 380 },
}; };
const dims = defaultDimensions[nodeType]; const dims = defaultDimensions[nodeType];

Loading…
Cancel
Save