diff options
Diffstat (limited to 'lib/elements/stroke.py')
| -rw-r--r-- | lib/elements/stroke.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/elements/stroke.py b/lib/elements/stroke.py index 96a9307f..5143c020 100644 --- a/lib/elements/stroke.py +++ b/lib/elements/stroke.py @@ -195,18 +195,18 @@ class Stroke(EmbroideryElement): return max(self.get_float_param("zigzag_spacing_mm", 0.4), 0.01) @property - @param('pull_compensation_mm', + @param('stroke_pull_compensation_mm', _('Pull compensation'), tooltip=_('Zigzag stitches pull the fabric together, resulting in a column narrower than you draw in Inkscape. ' 'This widens the zigzag line width.'), - unit='mm', + unit=_('mm (each side)'), type='float', default=0, select_items=[('stroke_method', 'zigzag_stitch')], sort_index=6) @cache def pull_compensation(self): - return self.get_float_param("pull_compensation_mm", 0) + return self.get_split_mm_param_as_px("stroke_pull_compensation_mm", (0, 0)) @property @param('line_count', |
