Skip to content

Commit 76b8d25

Browse files
committed
Ordering touchup
1 parent b00aa85 commit 76b8d25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/EdgesLayer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ export function traceEdges(
234234
const yDistA = Math.abs(tA.y - sA.y);
235235
const yDistB = Math.abs(tB.y - sB.y);
236236

237-
if (yDistA > yDistB) return -1;
238-
if (yDistA < yDistB) return 1;
237+
if (yDistA > yDistB) return 1;
238+
if (yDistA < yDistB) return -1;
239239

240240
return 0;
241241
});

0 commit comments

Comments
 (0)