1
0
Fork 0

chore(plugin-annotations): Remove lint

This commit is contained in:
Joost De Cock 2023-10-18 16:32:35 +02:00
parent 43796a95cd
commit 207dd9008b

View file

@ -87,7 +87,6 @@ function createBartack(config, props) {
* Construct the guide path * Construct the guide path
*/ */
let guide = false let guide = false
let name = 'bartack'
if (mc.anchor) if (mc.anchor)
// Anchor + angle + length // Anchor + angle + length
guide = new Path().move(mc.anchor).line(mc.anchor.shift(mc.angle, mc.length)) guide = new Path().move(mc.anchor).line(mc.anchor.shift(mc.angle, mc.length))
@ -98,10 +97,8 @@ function createBartack(config, props) {
// Along path // Along path
let start = false let start = false
let end = false let end = false
name = 'bartackalong'
if (mc.bartackAlong) guide = mc.path.clone() if (mc.bartackAlong) guide = mc.path.clone()
else if (mc.bartackFractionAlong) { else if (mc.bartackFractionAlong) {
name = 'bartackfractionalong'
if (mc.start === mc.end) return null if (mc.start === mc.end) return null
if (mc.start > mc.end) { if (mc.start > mc.end) {
const newEnd = mc.start const newEnd = mc.start