summaryrefslogtreecommitdiff
path: root/lib/stitches/auto_fill.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-12-26 16:23:38 +0100
committerGitHub <noreply@github.com>2024-12-26 16:23:38 +0100
commitb9432f040d9cea0139715da1d29ee7182e7d719e (patch)
treeb85d53b2d30efb255395e252f091e22b8d3cab36 /lib/stitches/auto_fill.py
parentef7d056173cc6d7782d6120c031dae9276725a3d (diff)
Edit json (#3371)
* convert kerning tool to json edit
Diffstat (limited to 'lib/stitches/auto_fill.py')
-rw-r--r--lib/stitches/auto_fill.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitches/auto_fill.py b/lib/stitches/auto_fill.py
index 067b0bcf..d5dd1d7d 100644
--- a/lib/stitches/auto_fill.py
+++ b/lib/stitches/auto_fill.py
@@ -706,7 +706,7 @@ def pick_edge(edges):
# Prefer a segment if one is available. This has the effect of
# creating long sections of back-and-forth row traversal.
for source, node, key in edges:
- if key == 'segment':
+ if key.startswith('segment'):
return source, node, key
return list(edges)[0]