mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
- Document.selection = undefined throws a TypeError and keeps the selection; null and [] still clear it. The assignment finds the locked artboards once and drops repeated objects with a set. - PageItem.controlBounds is the visible bounds widened to take in the direction points of every path in the object. - A page item or layer handle carries the document's revert count, so an object read before file.revert throws Stale page item. - Restoring a selection gives a path with only segments selected no anchors of its own before its segments are added back. - A failed object-model call and a vc.run result that cannot reach the script put back the growth they were charged. - DocumentPreset values count against the run's heap by what they hold now; an assignment past it throws a RangeError. - A host class member named constructor is refused, and reflect's find function is frozen. - file.new keeps the stored columns while rows are set, so a change of spacing alone no longer changes the grid a later layout uses. - command_value passes the id and params through without copying them. - Tests: the getIsFileOpen test passes its paths as JSON strings, and the locked removeAll test checks both objects from inside the script.