mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
<!-- Clearly explain the need for these changes: --> The current minimum zoom level restricts zooming out fully. I reduced the minZoom level to allow more flexible zooming out for users. ### Changes 🏗️ Reduced minZoom from 0.2 to 0.1 in the ReactFlow component to allow further zooming out. <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [ x ] I have clearly listed my changes in the PR description - [ x ] I have made a test plan - [ x ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ x ] Tested with different elements and zoom ranges to confirm its a smooth transition - [ x ] Checked that canvas and all nodes remain unchanged and interactive Co-authored-by: Bently <tomnoon9@gmail.com>
This commit is contained in:
@@ -660,7 +660,7 @@ const FlowEditor: React.FC<{
|
||||
onNodeDragStop={onNodeDragEnd}
|
||||
onNodeDragStart={onNodeDragStart}
|
||||
deleteKeyCode={["Backspace", "Delete"]}
|
||||
minZoom={0.2}
|
||||
minZoom={0.1}
|
||||
maxZoom={2}
|
||||
className="dark:bg-slate-900"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user