Browse Source

fix: ImageInputNode double-click resize incorrect aspect ratio

Add fullBleed prop so calculateAspectFitSize() uses chromeHeight=0
instead of incorrectly subtracting 100px for non-existent node chrome.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 4 months ago
parent
commit
1dc06aaf4e
  1. 1
      src/components/nodes/ImageInputNode.tsx

1
src/components/nodes/ImageInputNode.tsx

@ -87,6 +87,7 @@ export function ImageInputNode({ id, data, selected }: NodeProps<ImageInputNodeT
selected={selected}
contentClassName="flex-1 min-h-0 overflow-clip"
aspectFitMedia={nodeData.image}
fullBleed
>
{/* Reference input handle for visual links from Split Grid node */}
<Handle

Loading…
Cancel
Save