From 25bc0d2fe14696138a98ba1da3c987dd0a4e2ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dtalo=20Andrade?= Date: Fri, 1 Oct 2021 17:32:27 +0200 Subject: [PATCH] typo yeah, that's a personal ocd problem --- example/src/Layouting/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/Layouting/index.tsx b/example/src/Layouting/index.tsx index a34f06f6..34ee23e6 100644 --- a/example/src/Layouting/index.tsx +++ b/example/src/Layouting/index.tsx @@ -49,7 +49,7 @@ const LayoutFlow = () => { const nodeWithPosition = dagreGraph.node(el.id); el.targetPosition = isHorizontal ? Position.Left : Position.Top; el.sourcePosition = isHorizontal ? Position.Right : Position.Bottom; - // we need to pass a slighltiy different position in order to notify react flow about the change + // we need to pass a slightly different position in order to notify react flow about the change // @TODO how can we change the position handling so that we dont need this hack? el.position = { x: nodeWithPosition.x + Math.random() / 1000, y: nodeWithPosition.y }; }