fix: begin of life arrow

This commit is contained in:
2026-06-28 01:45:04 +02:00
parent 48458b054d
commit e4f919b50d

View File

@@ -130,8 +130,8 @@
let par = ctx.participants.at(i2)
let m = measure(box(par.display-name))
let f = if i1 > i2 {-1} else {1}
end-info.x -= (m.width + PAR-PAD.last() * 2) / 2pt * f
(par.draw)(par, y: end-info.y)
end-info.x -= (m.width / 2 / 1pt - 1.5) * f
(par.draw)(par, y: end-info.y - m.height / 1pt)
}
end-info.ll-lvl = ctx.lifelines.at(i2).level * LIFELINE-W / 2