mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 12:35:48 -05:00
- hasSelectedArtwork = false deselects only the layer's art with select.toggle, and true adds its art with select.add, so selected ruler guides and art on other layers stay selected. A layer with nothing to deselect or add runs no command. - A compound path's pathItems report the typename PathItems. - An artboard rectangle with an edge more than 4,000,000 points from the document origin throws before artboard.setProps or artboard.new runs. - script.run's activeArtboards gives each document's active artboard as the run leaves it, also when the chosen artboard was deleted later in the run. - A layer's or group's pageItems, groupItems and compoundPathItems, and the document's groupItems and compoundPathItems, keep their last list while the document is unchanged, so indexed reads in a loop do not rebuild it each time. A new list is charged by the objects it looks at. - object.newGroup's help says index 0 goes directly above the clipping path in a clipping layer or group. Docs: docs/mcp.md, docs/target-app-parity.md.