mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 20:34:22 +00:00
Art Alt-dragged (Option-dragged on macOS) from the canvas onto a scatter, art or pattern brush in the Brushes panel becomes its art (brush.replaceArt). When strokes use the brush, the app checks the art first, then a dialog offers Apply to Strokes, which redraws them with the new art, Leave Strokes, which keeps the brush and its strokes as they were and adds "<name> copy" with the new art as the current brush, and Cancel. Each change is one undo step. A pattern brush takes back the tile groups brush.placeArt places, frames included, and takes other art as its side tile. Calligraphic and bristle brushes, an empty selection and art with no width are refused. Art Alt-dragged off the canvas now reaches the panels as the art the drag started with. Before, the panels got the ids of the copy the drag previews, which no longer exist once the release over a panel ends the move. brush.new now also measures a symbol instance in the selected art by its symbol's art when it checks that the art has width. Docs: docs/mcp.md, docs/target-app-parity.md.