mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
- A compound path's `pathItems` is a `PathItems` object scoped to the compound path: it reads its paths, `parent` is the compound path, and the methods that make a path throw. `removeAll()` keeps the compound path, empty, as `remove()` of its last path does. `PathItems` gains `toString()`. - `GroupItem.clipped` throws when the path that would become the clipping path, or the clipping path it would release, is hidden or locked, before `layer.clippingMask.toggle` changes it. - After `artboards.add` or `insert` gives the active artboard another index, `app.doScript` steps act on that artboard at its new index. The Artboard tool's selection kept from the run's start is held by artboard id, so a Fit to Artwork Bounds or paste step acts on the same artboards after one is inserted or removed. - `Layer.opacity` runs no command only for the exact value its getter reports, as a page item's does. - `Layer.zOrderPosition` reads the kept list of layers and each layer's place in it, so a loop over the layers lists them once. - Tests: the Revert test compares the artboard's name with the saved one, and the `clipped` test reads `clipped` inside the script after the error.