1
0
Fork 0

fix(plugin-bartack): Linter warnings

This commit is contained in:
Joost De Cock 2021-04-18 13:19:12 +02:00
parent a216caa769
commit 21f40d900d

View file

@ -72,7 +72,7 @@ export default function bartack(so, self) {
let end = false
if (so.bartackAlong) {
if (so.start > 0) start = so.path.shiftAlong(so.start)
if (!end || end < so.path.length) end = so.path.shiftAlong(so.end)
end = so.path.shiftAlong(so.end)
} else if (so.bartackFractionAlong) {
if (so.start > 0) start = so.path.shiftFractionAlong(so.start)
if (so.end < 1) end = so.path.shiftFractionAlong(so.end)