summaryrefslogtreecommitdiff
path: root/pages/index.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-15 20:18:08 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-15 20:18:08 +0200
commitad692d23912a82778a15974e11f578422037b0c1 (patch)
tree0dc98e829a04e5987e9669ba2c9f20ce433c1603 /pages/index.tsx
parenteb794cc2183595a4f42be393db6b52478053000c (diff)
fix: smoother transition to dragging
Diffstat (limited to 'pages/index.tsx')
-rw-r--r--pages/index.tsx3
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()