Node: only use cursor grab when draggable

This commit is contained in:
peterkogo
2024-02-21 08:01:39 +01:00
parent 9fb4979631
commit f8168869bd
2 changed files with 6 additions and 6 deletions
+5 -6
View File
@@ -186,16 +186,15 @@ svg.xy-flow__connectionline {
pointer-events: all;
transform-origin: 0 0;
box-sizing: border-box;
cursor: grab;
cursor: default;
&.dragging {
cursor: grabbing;
}
/* only used in Svelte Flow, should we remove it here? */
&.draggable {
cursor: grab;
pointer-events: all;
&.dragging {
cursor: grabbing;
}
}
}