Skip to content

Commit

Permalink
Flowchart zoom: minimum scale fix on initial load (#1687)
Browse files Browse the repository at this point in the history
* fixed

* fix reqs and remove unwanted reqs

* Flowchart zoom: on Initial load fix for minimum scale

---------

Co-authored-by: rashidakanchwala <[email protected]>
  • Loading branch information
jitu5 and rashidakanchwala authored Dec 19, 2023
1 parent a012d08 commit a25cff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/flowchart/flowchart.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export class FlowChart extends Component {
minScaleX: 0.2,
minScaleFocus: this.props.visibleMetaSidebar
? this.props.chartZoom.scale
: 0.3,
: 0.1,
focusOffset: 0,
preventZoom,
});
Expand Down

0 comments on commit a25cff0

Please sign in to comment.