From 0c3ceaff8fbc05907598a36e77aa32f17ca0d0fb Mon Sep 17 00:00:00 2001 From: Tanish Manku Date: Tue, 17 Nov 2026 13:51:07 -0700 Subject: [PATCH] fix(engine): only raw stroke pieces keep a raw fill bare on a stroke change (M8) --- crates/engine/src/cmds_draw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/cmds_draw.rs b/crates/engine/src/cmds_draw.rs index f034be63..7b439f67 100644 --- a/crates/engine/src/cmds_draw.rs +++ b/crates/engine/src/cmds_draw.rs @@ -476,7 +476,7 @@ pub(crate) fn set_stroke(s: &mut Session, p: &Value) -> Result { // A raw drawing's outline is its own stroke pieces (ADR 0042). When the selection holds // strokes for the change, its raw fills take none of their own, which would draw the outline // a second time over the pieces (#389). - let strokes_selected = shapes.iter().any(|sh| sh.stroke.is_some()); + let strokes_selected = shapes.iter().any(|sh| sh.merge && sh.stroke.is_some()); for sh in shapes { if remove { sh.stroke = None;