mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
- remove() on the last path of a compound path keeps the compound path, empty, as move() does, so a script that holds it can still read it. edit.clear takes keepEmpty: true for this, and passes it on to path.deleteAnchors when it deletes direct-selected anchors; without it, Clear still deletes a compound path it empties. - note, like name, takes a number or a Boolean as the text String() gives it. - Assigning a graph mark or label the opacity it already has throws Cannot edit in a hidden or locked layer when the graph keeps another opacity for its series or kind, since the assignment would still change the graph. - Only the exact opacity the getter reports counts as the opacity an object already has; a value that differs from it by less than 0.0001 is now applied instead of being dropped. - Reading a document's selection orders only the selected objects, by their place in the tree, so its cost no longer grows with the size of the document. - docs/mcp.md: the opacity exception, note, keepEmpty, and that strict-mode code throws a TypeError when it assigns a member an object lacks. Docs: docs/mcp.md.