prevent tool direction change with tabs. fix dark mode arrow colors

This commit is contained in:
Stewart Allen 2022-01-25 10:01:25 -05:00
commit ed4b5dba7a
4 changed files with 17 additions and 11 deletions

View file

@ -1225,7 +1225,7 @@
if (d2f > mindist && d2l > mindist) {
continue;
}
if (d2l < mindist && d2l < d2f) {
if (d2l < mindist && d2l < d2f && opt.swapdir !== false) {
poly.reverse();
found = {poly:poly, index:0, point:poly.first()};
mindist = d2l;