fix: rendering animaiton
This commit is contained in:
@@ -687,7 +687,7 @@ function RenderingNodeComponent({ id, data, width, height, selected }: Props) {
|
||||
}, [configTypeId, configType.language])
|
||||
|
||||
return (
|
||||
<NodeStatusIndicator status={status} variant="border" width={dimensions?.width} height={dimensions?.height}>
|
||||
<NodeStatusIndicator status={status} variant="overlay" width={dimensions?.width} height={dimensions?.height}>
|
||||
<BaseNode className="min-w-96 min-h-[320px]" dimensions={dimensions} resizable nodeId={id} selected={selected} handles={<InputHandle id="ain" nodeId={id} />}>
|
||||
<BaseNodeHeaderRow
|
||||
icon={<Sparkles className="size-4" />}
|
||||
|
||||
@@ -164,13 +164,10 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
/* Connection path roles: pushing (trigger) vs receiving (updating) — classes on BaseNode root */
|
||||
/* Connection path roles: pushing (trigger) — classes on BaseNode root. Updating nodes have no extra border so rendering doesn’t flash. */
|
||||
.connection-path-trigger {
|
||||
box-shadow: inset 3px 0 0 hsl(var(--primary));
|
||||
}
|
||||
.connection-path-updating {
|
||||
box-shadow: inset 0 0 0 2px hsl(var(--primary) / 0.4);
|
||||
}
|
||||
|
||||
/* NodeResizer: snappy drag; no border/background on handles; keep resize cursors. */
|
||||
.react-flow__resize-control {
|
||||
|
||||
Reference in New Issue
Block a user