chore(plugin-bartack): Using new attributes.setIfUnset() method
This commit is contained in:
parent
87cfedd2ab
commit
a9879aeda1
2 changed files with 5 additions and 9 deletions
|
@ -2,7 +2,7 @@ const name = (n, so) => `${so.prefix}${n}${so.suffix}`
|
|||
|
||||
const drawBartack = (points, self) => {
|
||||
let path = new self.Path().move(points.path1[0])
|
||||
for (let i in points.path1) {
|
||||
for (const i in points.path1) {
|
||||
if (points.path1[i]) path = path.line(points.path1[i])
|
||||
if (points.path2[i]) path = path.line(points.path2[i])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue