From 93791cf2f772142214e2a5ee931568d9389c7c9b Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Sun, 8 Mar 2026 10:59:18 +0100 Subject: [PATCH] Fix incorrect attributes with flattening path builder for the begin event --- crates/path/src/builder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/path/src/builder.rs b/crates/path/src/builder.rs index baa62498..f00fcb73 100644 --- a/crates/path/src/builder.rs +++ b/crates/path/src/builder.rs @@ -961,6 +961,7 @@ impl PathBuilder for Flattened { fn begin(&mut self, at: Point, attributes: Attributes) -> EndpointId { self.current_position = at; + self.prev_attributes.copy_from_slice(attributes); self.builder.begin(at, attributes) }