From 5e0e680f608303a7a30b10bf69a7cda5984b22d6 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Sun, 19 May 2024 13:53:24 +0200 Subject: [PATCH] fixed separator hiding inside structure --- src/renderer.typ | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/renderer.typ b/src/renderer.typ index bc6934f..5d940a5 100644 --- a/src/renderer.typ +++ b/src/renderer.typ @@ -400,6 +400,13 @@ let name-x = start-x + width / 2 let name-y = bits-y + bit-h / 2 + shapes += draw-rect( + bg-col, + start-x + bit-w / 2, + name-y - bit-h * 0.3, + width - bit-w, + bit-h * 0.6 + ) shapes += draw-text(range_.name, txt-col, name-x, name-y, fill: bg-col) if range_.description != "" {