fixed separator hiding inside structure

This commit is contained in:
Louis Heredero 2024-05-19 13:53:24 +02:00
parent 4ccfa43e51
commit 5e0e680f60
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7

View File

@ -400,6 +400,13 @@
let name-x = start-x + width / 2 let name-x = start-x + width / 2
let name-y = bits-y + bit-h / 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) shapes += draw-text(range_.name, txt-col, name-x, name-y, fill: bg-col)
if range_.description != "" { if range_.description != "" {