diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-10-15 20:18:08 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-10-15 20:18:08 +0200 |
commit | ad692d23912a82778a15974e11f578422037b0c1 (patch) | |
tree | 0dc98e829a04e5987e9669ba2c9f20ce433c1603 | |
parent | eb794cc2183595a4f42be393db6b52478053000c (diff) |
fix: smoother transition to dragging
-rw-r--r-- | pages/index.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
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() |