diff --git a/src/components/WorkflowCanvas.tsx b/src/components/WorkflowCanvas.tsx index b8ac03e2..542fceb3 100644 --- a/src/components/WorkflowCanvas.tsx +++ b/src/components/WorkflowCanvas.tsx @@ -991,6 +991,9 @@ export function WorkflowCanvas() { nodeDragThreshold={5} zoomOnScroll={false} zoomOnPinch={true} + minZoom={0.1} + maxZoom={4} + defaultZoom={1} panActivationKeyCode="Space" onWheel={handleWheel} className="bg-neutral-900"