summaryrefslogtreecommitdiff
path: root/lib/elements/fill_stitch.py
diff options
context:
space:
mode:
authorGeorge Steel <george.steel@gmail.com>2022-10-27 23:01:05 -0400
committerGitHub <noreply@github.com>2022-10-27 23:01:05 -0400
commit0032e5cdd0bf26e5061d460903ffaaf34c120de0 (patch)
treed2cba9647dca3baa490b84c8db1438d964101242 /lib/elements/fill_stitch.py
parent27d2fcecaaec7ab3b153981a77f53a9eda8a8add (diff)
parent1cc0eab91189227371c5bb78d9e1f1f06deaeaf5 (diff)
Merge pull request #1874 from inkstitch/george-steel/fractional-stagger
Add support for fractional-length stagger cycles in fills
Diffstat (limited to 'lib/elements/fill_stitch.py')
-rw-r--r--lib/elements/fill_stitch.py4
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