Skip to content

Commit

Permalink
line: Add default anchor for closed lines (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf authored Jan 7, 2025
1 parent e892c2e commit e94fd6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/draw/shapes.typ
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@
}
},
if close != none { ("centroid",) } else { () },
default: if close != none { "centroid" },
name: name,
transform: ctx.transform,
path-anchors: true,
Expand Down

0 comments on commit e94fd6d

Please sign in to comment.