diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-12-27 18:10:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-27 18:10:39 +0100 |
| commit | 7ba51c0c965288357fa16f4f5e788982b0cce1cb (patch) | |
| tree | 6eae11d8c026a76d71e2264d88ede17c17dcb088 /lib/extensions/jump_to_stroke.py | |
| parent | 870fff344fe727886d34d2eda421ec49666ffbe0 (diff) | |
various fixes (#3372)
Diffstat (limited to 'lib/extensions/jump_to_stroke.py')
| -rw-r--r-- | lib/extensions/jump_to_stroke.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/jump_to_stroke.py b/lib/extensions/jump_to_stroke.py index 1351392a..42cabf76 100644 --- a/lib/extensions/jump_to_stroke.py +++ b/lib/extensions/jump_to_stroke.py @@ -181,7 +181,7 @@ class JumpToStroke(InkstitchExtension): # add simple stroke to connect elements path.transform(Transform(get_correction_transform(node)), True) color = element.color - style = f'stroke:{color};stroke-width:1px;stroke-dasharray:3, 1;fill:none;' + style = f'stroke:{color};stroke-width:{self.svg.viewport_to_unit("1px")};stroke-dasharray:3, 1;fill:none;' line = PathElement(d=str(path), style=style) line.set(INKSTITCH_ATTRIBS['running_stitch_length_mm'], self.options.running_stitch_length_mm) |
