From f46e7eef9101bed2ae75c6560935961951c675d7 Mon Sep 17 00:00:00 2001 From: stewart allen Date: Wed, 28 Apr 2021 15:05:35 -0400 Subject: [PATCH] do not attempt sparse-top intersections on anchor slices --- src/kiri/print.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kiri/print.js b/src/kiri/print.js index 1a7eeb85..d3e7409a 100644 --- a/src/kiri/print.js +++ b/src/kiri/print.js @@ -565,6 +565,9 @@ } function intersectsTop(p1, p2) { + if (slice.index < 0) { + return false; + } if (opt.danger) { return retractRequired(p1, p2); }