small fix for radius

This commit is contained in:
2025-08-17 14:33:31 +03:00
parent 043bb339fe
commit f2ce91ec39

View File

@@ -1,7 +1,7 @@
#import "@preview/cetz:0.3.2": draw #import "@preview/cetz:0.3.2": draw
#import "element.typ" #import "element.typ"
#let draw-shape(id, tl, tr, br, bl, fill, stroke, radius) = { #let draw-shape(id, tl, tr, br, bl, fill, stroke, radius: 0.5em) = {
let f = draw.rect( let f = draw.rect(
radius: radius, radius: radius,
inset: 0.5em, inset: 0.5em,