We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a604ca commit d2896c5Copy full SHA for d2896c5
src/features/editor/views/GraphView/CustomNode/index.tsx
@@ -41,6 +41,12 @@ const CustomNodeWrapper = (nodeProps: NodeProps<NodeData["data"]>) => {
41
onClick={handleNodeClick as any}
42
animated={false}
43
label={null as any}
44
+ onEnter={ev => {
45
+ ev.currentTarget.style.stroke = "#3B82F6";
46
+ }}
47
+ onLeave={ev => {
48
+ ev.currentTarget.style.stroke = colorScheme === "dark" ? "#424242" : "#BCBEC0";
49
50
style={{
51
fill: colorScheme === "dark" ? "#292929" : "#ffffff",
52
stroke: colorScheme === "dark" ? "#424242" : "#BCBEC0",
0 commit comments