Merge pull request #4056 from marcoarnulfo/fix/set-bounds-compound-member

Properties and Transform: X, Y, W and H of a compound path's member set only that path
This commit is contained in:
Brandon Thomas
2026-10-25 10:37:22 -04:00
committed by GitHub
2 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -1804,7 +1804,7 @@ fn distribute_spacing(s: &mut Session, p: &Value) -> Result<Value> {
}
fn set_bounds(s: &mut Session, p: &Value) -> Result<Value> {
match bounds_transform(s, p, selected_roots(s)?, 0.0)? {
match bounds_transform(s, p, selected_roots_to_transform(s)?, 0.0)? {
Bounds::Anchors(ids, b) => set_anchor_bounds(s, p, ids, b),
Bounds::Objects(ids, xf) => apply_transform(s, "Transform", ids, xf, p, false),
}