浏览代码

increase canvas ratio for change watch

AykutSarac 2 年之前
父节点
当前提交
2c53a3af64
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/Graph/index.tsx

+ 1 - 1
src/components/Graph/index.tsx

@@ -81,7 +81,7 @@ const GraphComponent = ({ isWidget = false, openModal, setSelectedNode }: GraphP
           setTimeout(() => {
           setTimeout(() => {
             setLoading(false);
             setLoading(false);
             setTimeout(() => {
             setTimeout(() => {
-              if (changeRatio > 65 || isWidget) centerView();
+              if (changeRatio > 70 || isWidget) centerView();
             });
             });
           });
           });
         });
         });