Browse Source

increase canvas ratio for change watch

AykutSarac 2 năm trước cách đây
mục cha
commit
2c53a3af64
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
             });
           });
         });