fixed focused, selectable css
This commit is contained in:
@@ -186,6 +186,7 @@ export function EdgeWrapper({
|
||||
animated: edge.animated,
|
||||
inactive: !isSelectable && !onClick,
|
||||
updating: updateHover,
|
||||
selectable: isSelectable,
|
||||
},
|
||||
])}
|
||||
onClick={onEdgeClick}
|
||||
|
||||
@@ -139,8 +139,8 @@
|
||||
}
|
||||
|
||||
&.selected .xy-flow__edge-path,
|
||||
&:focus .xy-flow__edge-path,
|
||||
&:focus-visible .xy-flow__edge-path {
|
||||
&.selectable:focus .xy-flow__edge-path,
|
||||
&.selectable:focus-visible .xy-flow__edge-path {
|
||||
stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user