mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): tweak edge styling
This commit is contained in:
parent
b3429553bb
commit
21fab9785a
@ -18,7 +18,7 @@ export const getEdgeStyles = (
|
|||||||
shouldAnimateEdges: boolean,
|
shouldAnimateEdges: boolean,
|
||||||
areConnectedNodesSelected: boolean
|
areConnectedNodesSelected: boolean
|
||||||
): CSSProperties => ({
|
): CSSProperties => ({
|
||||||
strokeWidth: selected ? 3 : areConnectedNodesSelected ? 2 : 1,
|
strokeWidth: 3,
|
||||||
stroke,
|
stroke,
|
||||||
opacity: selected ? 1 : 0.5,
|
opacity: selected ? 1 : 0.5,
|
||||||
animation: shouldAnimateEdges ? 'dashdraw 0.5s linear infinite' : undefined,
|
animation: shouldAnimateEdges ? 'dashdraw 0.5s linear infinite' : undefined,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user