Feat(Builder): Allow for zooming out more on builder UI (#7760)

add min and max zoom
This commit is contained in:
Bently
2024-08-09 13:43:06 +01:00
committed by GitHub
parent 646d98470f
commit 1e054064f6

View File

@@ -905,6 +905,8 @@ const FlowEditor: React.FC<{
onNodeDragStop={onNodeDragEnd}
onNodeDragStart={onNodeDragStart}
deleteKeyCode={["Backspace", "Delete"]}
minZoom={0.2}
maxZoom={2}
>
<Controls />
<Background />