better tab routing

This commit is contained in:
Stewart Allen 2022-01-23 19:46:18 -05:00
commit f6d1ba79fd
2 changed files with 8 additions and 1 deletions

View file

@ -1228,8 +1228,10 @@
if (d2l < mindist && d2l < d2f) {
poly.reverse();
found = {poly:poly, index:0, point:poly.first()};
mindist = d2l;
} else if (d2f < mindist) {
found = {poly:poly, index:0, point:poly.first()};
mindist = d2f;
}
continue;
}