mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 14:03:16 -05:00
Merge pull request #10660 from dotCooCoo/fix/newgroup-keeps-tracing
Image Trace: object.newGroup at index 0 no longer ends a tracing
This commit is contained in:
4 files changed
+26
-4
No files matched your search
+3
-1
@@ -3361,7 +3361,9 @@ through `$`:
|
||||
collection whose document, layer or group was deleted throws `Stale page item` or `Stale document` first.
|
||||
- `object.newGroup {parent?, index?, compound?}` adds an empty group to a shown, unlocked layer or group (`parent`;
|
||||
default: the current layer), on top of its contents or at `index` (0 is the bottom; in a clipping layer or group,
|
||||
index 0 puts it directly above the clipping path), as one undo step named Group, and
|
||||
index 0 puts it directly above the clipping path; in an Image Trace object, index 0 is refused and changes nothing,
|
||||
since the source image stays at the bottom, and index 1 puts it directly above the source image), as one undo step
|
||||
named Group, and
|
||||
gives `{id}`. With `compound: true` it adds an empty compound path instead, as one undo step named Compound Path.
|
||||
An omitted key takes its default (`parent`: the current layer; `index`: on top; `compound`: false).
|
||||
Explicit `null` is refused for `parent`, `index` and `compound`.
|
||||
|
||||
Reference in new issue
Block a user