From ea402aa6c3951acbd71eed1bcdd4bfeec360e045 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:16:31 +0100 Subject: fill to satin: fix stroke width (#4005) --- lib/extensions/fill_to_satin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/extensions/fill_to_satin.py') diff --git a/lib/extensions/fill_to_satin.py b/lib/extensions/fill_to_satin.py index d26fe5f2..b6805f2b 100644 --- a/lib/extensions/fill_to_satin.py +++ b/lib/extensions/fill_to_satin.py @@ -100,7 +100,7 @@ class FillToSatin(InkstitchExtension): group = fill_element.node.getparent() index = group.index(fill_element.node) + 1 transform = get_correction_transform(fill_element.node) - style = f'stroke: {fill_element.color}; fill: none; stroke-width: {self.svg.viewport_to_unit("1px")};' + style = f'stroke: {fill_element.color}; fill: none; stroke-width: {1 / fill_element.stroke_scale};' if len(satins) > 1: new_group = Group() group.insert(index, new_group) -- cgit v1.2.3