Files
Gerald LonlasandClaude Opus 4.8 b2785b5f2c feat(web): lock shape & dimensions to the image, hiding those form controls
When an image is connected, its aspect ratio and dimensions drive the output,
so the profile form's Shape controls (orientation + ratio) and the Width/Height
fields are now hidden — leaving only Profile Name, the resolution tier (which
still sets the pixel budget), and Steps. A short note explains the lock, and the
live preview drops the concrete WxH in favor of the megapixel budget + "matches
image ratio". Disconnecting the image restores the full form live via
onConnectionsChange.

Verified in ComfyUI 1.45.20: with the image linked the Shape section and
Width/Height collapse to display:none; disconnecting restores them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 01:32:04 +08:00
..