selectable correctly influences cursor types for nodes & edges

This commit is contained in:
peterkogo
2024-02-22 11:12:08 +01:00
parent f8168869bd
commit f0d1e85cf1
3 changed files with 13 additions and 2 deletions
+8 -1
View File
@@ -123,7 +123,10 @@
.xy-flow__edge {
pointer-events: visibleStroke;
cursor: pointer;
&.selectable {
cursor: pointer;
}
&.animated path {
stroke-dasharray: 5;
@@ -188,6 +191,10 @@ svg.xy-flow__connectionline {
box-sizing: border-box;
cursor: default;
&.selectable {
cursor: pointer;
}
&.draggable {
cursor: grab;
pointer-events: all;