Fixed zoom on double click node

This commit is contained in:
Lucas Oliveira 2023-05-30 15:33:45 -03:00
commit 04ab3cde15

View file

@ -343,6 +343,7 @@ export default function FlowPage({ flow }: { flow: FlowType }) {
onSelectionChange={onSelectionChange}
nodesDraggable={!disableCopyPaste}
panOnDrag={!disableCopyPaste}
zoomOnDoubleClick={!disableCopyPaste}
selectNodesOnDrag={false}
>
<Background className="dark:bg-gray-900" />