소스 검색

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(() => {
             setLoading(false);
             setTimeout(() => {
-              if (changeRatio > 65 || isWidget) centerView();
+              if (changeRatio > 70 || isWidget) centerView();
             });
           });
         });