diff options
| author | capellancitizen <thecapellancitizen@gmail.com> | 2025-03-09 21:21:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 21:21:48 -0400 |
| commit | 99509df8d8abf1e7b701a4a09cf170a362f6d878 (patch) | |
| tree | a461549502fa9f37dc287789b6c7db81dfcd5368 /lib/extensions/cutwork_segmentation.py | |
| parent | 0d2fc24f25f87562f0755b53dad6204efad1330d (diff) | |
Mypy type correctness (#3199)
Diffstat (limited to 'lib/extensions/cutwork_segmentation.py')
| -rw-r--r-- | lib/extensions/cutwork_segmentation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/cutwork_segmentation.py b/lib/extensions/cutwork_segmentation.py index bea14472..c041e359 100644 --- a/lib/extensions/cutwork_segmentation.py +++ b/lib/extensions/cutwork_segmentation.py @@ -136,7 +136,7 @@ class CutworkSegmentation(InkstitchExtension): d = "M " for point in point_list: - d += f"{ point.x }, { point.y } " + d += f"{point.x}, {point.y} " stroke_element = inkex.PathElement(attrib={ "style": color, @@ -188,4 +188,4 @@ class CutworkSegmentation(InkstitchExtension): def path_style(self, element, color): # set stroke color and make it a running stitch - they don't want to cut zigzags - return inkex.Style(element.node.get('style', '')) + inkex.Style(f'stroke-width:1;stroke:{ color };') + return inkex.Style(element.node.get('style', '')) + inkex.Style(f'stroke-width:1;stroke:{color};') |
