From b9432f040d9cea0139715da1d29ee7182e7d719e Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:23:38 +0100 Subject: Edit json (#3371) * convert kerning tool to json edit --- lib/stitches/auto_fill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stitches') 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] -- cgit v1.2.3