summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/stitches/ripple_stitch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stitches/ripple_stitch.py b/lib/stitches/ripple_stitch.py
index 40a522eb..e2f60a29 100644
--- a/lib/stitches/ripple_stitch.py
+++ b/lib/stitches/ripple_stitch.py
@@ -235,8 +235,8 @@ def _adjust_helper_lines_for_grid(stroke, helper_lines, skip_start, skip_end):
if stroke.join_style == 0 and (stroke.reverse and count % 2 != 0):
count += 1
- elif (stroke.join_style == 1 and ((stroke.reverse and skip_end % 2 != 0) or
- (not stroke.reverse and skip_start % 2 != 0))):
+ elif (stroke.join_style == 1 and ((stroke.reverse and (count + skip_start) % 2 != 0) or
+ (not stroke.reverse and skip_start % 2 != 0))):
count += 1
if count % 2 != 0: