From ad692d23912a82778a15974e11f578422037b0c1 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Fri, 15 Oct 2021 20:18:08 +0200 Subject: fix: smoother transition to dragging --- pages/index.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pages/index.tsx') diff --git a/pages/index.tsx b/pages/index.tsx index 9eb1874..2b8b6c7 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1378,6 +1378,9 @@ export const Graph = function (props: GraphProps) { if (!visuals.highlight) { return } + if (dragging) { + return + } if (!hoverNode) { fadeOutCancel() -- cgit v1.2.3