From 6259448c3912e01d0af860a09898443b0e2773ad Mon Sep 17 00:00:00 2001 From: NetterSilver <133535268+Silvertree2010@users.noreply.github.com> Date: Sun, 25 Oct 2026 13:01:25 +0100 Subject: [PATCH] Reset stroke weight to zero when the stroke colour is removed Fixes #4109 Co-Authored-By: Claude Haiku 5.5 Co-Authored-By: Claude Sonnet 5.5 --- crates/engine/src/cmd/paint.rs | 7 +++++++ crates/engine/tests/it/stroke_visibility.rs | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/crates/engine/src/cmd/paint.rs b/crates/engine/src/cmd/paint.rs index 2c527a820..f6e555892 100644 --- a/crates/engine/src/cmd/paint.rs +++ b/crates/engine/src/cmd/paint.rs @@ -504,6 +504,13 @@ fn apply_paint(s: &mut Session, p: &Value, paint: Paint, fill: bool) -> Result