mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 07:11:31 +00:00
Reset Bounding Box set the angle to 0 on the selected objects only. A rotation changes the box angle of the selected objects and of every object inside them, so the members of a rotated group kept their angle: after rotating two rectangles 20 degrees, grouping them, rotating the group 10 degrees and resetting, Ungroup brought back a box at 30 degrees, and a second reset reported 2 objects to change. The command now also squares every object inside the selected ones: the children of groups, compound paths, clip groups, blends, envelopes, repeats and intertwines, and the art of linked opacity masks. The art of an unlinked mask does not turn with the object, so it keeps its angle. Ungroup, Release Clipping Mask, Release Compound Path, Blend Expand, Release Envelope, Release Repeat, Release Intertwine and Release Opacity Mask then bring back boxes square to the page. The whole reset stays one undo step. Two results change. `changed` counts every object reset, the objects inside included, so the steps above return 3 where they returned 1. A group whose own box is square but whose members are turned used to return 0 with no undo step; it now squares the members in one step. Docs: params text, docs/mcp.md, docs/target-app-parity.md.