Skip to content

Commit

Permalink
piechart: Update styling
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Dec 8, 2023
1 parent b2bf28c commit b66071f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/chart/piechart.typ
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@
group(name: name, ctx => {
anchor("center", (0,0))

let style = styles.resolve(ctx, style.named(), root: "piechart", base: default-style)
let style = styles.resolve(ctx,
merge: style.named(), root: "piechart", base: default-style)

let gap = style.gap
if type(gap) != angle {
Expand Down

0 comments on commit b66071f

Please sign in to comment.