mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 19:11:26 +00:00
object.align takes to: "auto", which aligns to the key object, key anchor or key guide when the selection has one, else to the artboard when exactly one object is selected and no anchor points are, else to the selection. New Action and Action Options have Choose Align To at playback (automaticAlignTo on ui.action.new and ui.action.options), off by default. With it on, playback sends to: "auto" for each object.align step, without any artboard index the step stores, so the step uses the active artboard; the stored steps keep their recorded params. Save Actions writes the option, and a set that uses it is saved as file version 7. The dialog's strings have rows in every catalog, and docs/mcp.md describes to: "auto", automaticAlignTo and file version 7. Fixes #6972. Supersedes #7635. Co-authored-by: yoriswind <yoriswind@yahoo.com>