mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
While a group is isolated, `layer.hasSelectedArtwork = true` looked only at the layer's top-level art, which is not selectable in isolation, so it selected nothing. It now takes what Select All takes in isolation: the art inside the isolated group (through any sublayer it holds), or the isolated object itself, and nothing when the isolated object or what holds it is hidden or locked. While Lock Guides is on, paths made into guides are not counted as art to add, so they no longer trip the selection limit. Reading `hasSelectedArtwork` now counts each selected object it checks toward the script's operation budget, as the setter already did. Follows #9048, which added the property.