increase canvas ratio for change watch

This commit is contained in:
AykutSarac 2022-12-24 23:05:54 +03:00
parent 8070c7c280
commit 2c53a3af64

View File

@ -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();
});
});
});