vectorcraft/crates/tools/src/xform
HT f2b35fc039 Fix #602: Scale Artwork with Artboard scales the art with a resized artboard
`artboard.setProps {scaleArt: true}` maps the art fully inside a resized
artboard (as Move Artwork with Artboard gathers it) and its artboard guides
from the old rectangle onto the new one, each side by its own ratio, in one
undo step, and returns the ids scaled. Strokes, effects and corners follow
Scale Strokes & Effects and Scale Corners (`strokes`, `corners`), pattern tiles
Transform Pattern Tiles (`patterns`); locked and hidden art follows
`lockedAndHidden` (default: prefs moveLockedWithArtboard). The resolved choices
are journaled, so a replay scales the same objects the same way. A move that
keeps the size scales nothing.

The Artboard tool's `scaleArt` option (saved with `moveArt`) makes handle
drags proportional, as the public help describes, keeps them proportional at
the 1 pt minimum, and leaves the scaled art out of the Smart Guide targets.
Move and Scale Artwork with Artboard are check boxes in the Control bar and
Properties' Edit Artboards; the artboard size fields there and in the
Transform panel pass the option. Translated in the eight catalogs that have
Move Artwork with Artboard. docs/mcp.md and the ROADMAP updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 11:50:35 +01:00
..
artboard.rs Fix #602: Scale Artwork with Artboard scales the art with a resized artboard 2026-10-09 11:50:35 +01:00
eyedropper.rs Type Object Selection by Path Only: every baseline, Type tool and Eyedropper (review of #475) 2026-10-08 18:59:47 +07:00
free.rs Smart Guides: "align" also on a handle already in line, Free Transform's move offset and slice readouts follow Measurement Labels (review of #453) 2026-10-08 15:46:15 +07:00
freeform.rs M14.4: no panics in the shipped code main gained since the no-panics branch 2026-10-05 06:39:18 +07:00
gradient.rs M14.4: no panics in the shipped code main gained since the no-panics branch 2026-10-05 06:39:18 +07:00
measure.rs M14.5: Preferences > Units drive every length the UI shows and reads 2026-10-05 07:43:41 +07:00
transform.rs Fix #482: Smart Guides land resize handles on anchors and snap the transform tools' drags 2026-10-08 20:21:31 +07:00
wand.rs Fix #483: Shift-drag marquees toggle the selection; the Lasso's Alt keeps the rest 2026-10-08 20:21:36 +07:00