fixed some spacing issues

This commit is contained in:
2024-06-21 02:24:35 +02:00
parent 9c83f810bb
commit 6e7dc9913f
3 changed files with 24 additions and 6 deletions

View File

@ -40,6 +40,8 @@
#let render(pars-i, x-pos, participants, elmt, y, lifelines) = {
let shapes = ()
y -= Y-SPACE
// Reserve space for comment
if elmt.comment != none {
y -= measure(box(elmt.comment)).height / 1pt + 6
@ -185,7 +187,6 @@
dst-line.lines.push(("create", y))
lifelines.at(i2) = dst-line
}
y -= Y-SPACE
let r = (y, lifelines, shapes)
return r