From 03361db78493e2e0d02077dd506503d44d47da17 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Sun, 19 May 2024 17:29:46 +0200 Subject: [PATCH] fixed margins --- src/renderer.typ | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/renderer.typ b/src/renderer.typ index b957a88..1a72fb2 100644 --- a/src/renderer.typ +++ b/src/renderer.typ @@ -463,8 +463,16 @@ ox: ox, oy: config.margins.at(0) ) - shapes - //draw.circle((300, -3000), fill: red, radius: 2) + // Workaround for margins + draw.group(name: "g", padding: config.margins, shapes) + draw.line( + "g.north-west", + "g.north-east", + "g.south-east", + "g.south-west", + stroke: none, + fill: none + ) }) }