From f2ce91ec391780ac7134d26454607c315eeeff91 Mon Sep 17 00:00:00 2001 From: Elad elmakias Date: Sun, 17 Aug 2025 14:33:31 +0300 Subject: [PATCH] small fix for radius --- src/elements/block.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/block.typ b/src/elements/block.typ index 47d55a1..0fc023b 100644 --- a/src/elements/block.typ +++ b/src/elements/block.typ @@ -1,7 +1,7 @@ #import "@preview/cetz:0.3.2": draw #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( radius: radius, inset: 0.5em,