Skip to content

Commit

Permalink
fix svg export bug
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy committed Jul 19, 2024
1 parent 7d6510b commit c81a745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/TOOLKIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ bt.union(polylines0, polylines1)
bt.difference(polylines0, polylines1)
bt.intersection(polylines0, polylines1)
bt.xor(polylines0, polylines1)
bt.offset(polylines, delta, ops = { endType, joinType, miterLimit, arcTolerance })
bt.offset(polylines, delta, ?ops = { endType, joinType, miterLimit, arcTolerance })
```
## Get Data From Polylines
Expand Down
2 changes: 1 addition & 1 deletion src/components/Toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function DownloadPNG() {
pl.forEach((pt, i) => {
const [x, y] = pt
if (i === 0) d += `M ${x} ${y}`
else d += `L ${x} ${y}`
else d += ` L ${x} ${y}`
})
)

Expand Down

0 comments on commit c81a745

Please sign in to comment.