diff options
| author | George Steel <george.steel@gmail.com> | 2022-10-23 00:54:35 -0400 |
|---|---|---|
| committer | George Steel <george.steel@gmail.com> | 2022-10-23 00:54:35 -0400 |
| commit | 1cc0eab91189227371c5bb78d9e1f1f06deaeaf5 (patch) | |
| tree | 3ad5b2159192f6cc9d3fe9fb1ea31858e9543703 /lib/elements/fill_stitch.py | |
| parent | 11cde9062ee13b64f665b0ef9313c286da05fdfe (diff) | |
Add support for fractional-length stagger cycles in fills.
Diffstat (limited to 'lib/elements/fill_stitch.py')
| -rw-r--r-- | lib/elements/fill_stitch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py index ad2b5372..ca44e3cc 100644 --- a/lib/elements/fill_stitch.py +++ b/lib/elements/fill_stitch.py @@ -216,13 +216,13 @@ class FillStitch(EmbroideryElement): @property @param('staggers', _('Stagger rows this many times before repeating'), - tooltip=_('Setting this dictates how many rows apart the stitches will be before they fall in the same column position.'), + tooltip=_('Length of the cycle by which successive stitch rows are staggered. Fractional values are allowed and can have less visible diagonals than integer values.'), type='int', sort_index=6, select_items=[('fill_method', 0), ('fill_method', 2), ('fill_method', 3)], default=4) def staggers(self): - return max(self.get_int_param("staggers", 4), 1) + return self.get_float_param("staggers", 4) @property @cache |
