From c85570c8b2a7bfe7e28eaf6773997e766416dbf5 Mon Sep 17 00:00:00 2001 From: Ikki Nishihara Date: Mon, 12 Oct 2026 09:17:41 +0900 Subject: [PATCH] fix: Pathfinder results keep the source's name and SVG id (#1293) --- crates/engine/src/cmd/pathops.rs | 20 +++- crates/engine/src/tests_pathops.rs | 155 +++++++++++++++++++++++++++++ docs/gaps.md | 4 +- docs/roadmap.md | 5 +- docs/target-app-parity.md | 7 +- docs/ui-parity.md | 4 +- 6 files changed, 183 insertions(+), 12 deletions(-) diff --git a/crates/engine/src/cmd/pathops.rs b/crates/engine/src/cmd/pathops.rs index d4419e10..c91fced2 100644 --- a/crates/engine/src/cmd/pathops.rs +++ b/crates/engine/src/cmd/pathops.rs @@ -310,10 +310,11 @@ fn run_pf(s: &mut Session, op: PathfinderOp) -> Result { matches!(op, PathfinderOp::Unite | PathfinderOp::MinusFront | PathfinderOp::Intersect | PathfinderOp::Exclude | PathfinderOp::MinusBack); let label = pf_label(op); let ids = s.edit(label, |d, sel| { - // Build the stack (back → front) with a style per entry. + // Build the stack (back → front); names are separate from paint/style identity. let mut styles: Vec