mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
With a key object, the Align panel's six Distribute Objects buttons ignored the Distribute Spacing value. They kept the outermost objects in place, spaced the others evenly between them and could move the key object. object.distribute now takes spacing. While the selection has a key object, the key object stays in place, with the compound path or selected group that contains it, and the objects' left edges, centers or right edges (top edges, centers or bottom edges) end up spacing points apart, outward from the key object's, in their order on that line. With 0, the field's default, every object ends on the key object's line. Two objects are enough, and to and artboard are not used. The panel sends the value with the Distribute Objects buttons while there is a key object, as it does with the Distribute Spacing buttons. Without a key object, or with anchor points selected, object.distribute does not use spacing and works as before. A spacing that is not a number is an error. Docs: docs/mcp.md, docs/target-app-parity.md.