1
0
Fork 0

consistent prefixes in gore, round, and cutonfold

This commit is contained in:
Enoch Riese 2023-01-12 10:21:42 -06:00
parent 634310b574
commit d8ab90b77f
3 changed files with 13 additions and 13 deletions

View file

@ -12,7 +12,7 @@ export const plugin = {
let to = so.to
let via = so.via
let radius = so.radius
let prefix = (so.prefix || '') + 'round'
let prefix = so.prefix || 'round'
let angle1 = from.angle(via)
let angle2 = via.angle(to)
if ((Math.round(angle1) - Math.round(angle2)) % 90 !== 0)