From f9601664a81c46c88e09000d3c0a88169129a150 Mon Sep 17 00:00:00 2001 From: Jitendra Gundaniya Date: Wed, 6 Dec 2023 16:33:33 +0000 Subject: [PATCH] Flowchart doesn't automatically reset the zoom when actions are performed --- src/components/flowchart/flowchart.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/flowchart/flowchart.js b/src/components/flowchart/flowchart.js index 7b7495b9b4..ce560d388e 100644 --- a/src/components/flowchart/flowchart.js +++ b/src/components/flowchart/flowchart.js @@ -410,7 +410,9 @@ export class FlowChart extends Component { objectWidth: graphWidth, objectHeight: graphHeight, minScaleX: 0.2, - minScaleFocus: this.props.chartZoom.scale, + minScaleFocus: this.props.visibleMetaSidebar + ? this.props.chartZoom.scale + : 0.3, focusOffset: 0, preventZoom, });