summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <reni@allenka.de>2023-05-17 23:17:22 +0200
committerKaalleen <reni@allenka.de>2023-05-17 23:17:22 +0200
commit97d53bad33ce4279f45fef54e78ea67fb66752c6 (patch)
tree2b504de3f64b52a98e63866935b53605af5af480 /lib
parentac963a158b335cf6cfbbc96a8ee2038db1f664dd (diff)
ripple stitch grid starting point
Diffstat (limited to 'lib')
-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: