mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
The desktop app's ui.render (MCP `screenshot` when connected) always rendered the first artboard and ignored `artboard`, which the headless backend honours. It now renders the 0-based `artboard` (the first without one, an error for one that doesn't exist), as headless does. control-protocol.md and the control.rs list show the parameter. The test drives ui.render through the control channel on a 64 x 64 and a 96 x 48 artboard: no index and 0 give 64 x 64, 1 gives 96 x 48 (48 x 24 at scale 0.5), 2 is an error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # ROADMAP.md