renamed get- to compute-columns-widths

This commit is contained in:
2025-07-13 16:09:10 +02:00
parent 57a3a371eb
commit 6970e59413

View File

@ -8,7 +8,6 @@
#import "../sync.typ"
#import "../consts.typ": *
#import "../note.typ" as note: get-note-box
#import "../styles.typ"
#let DEBUG-INVISIBLE = false
@ -301,7 +300,7 @@
return widths
}
#let get-columns-width(participants, elements, pars-i) = {
#let compute-columns-width(participants, elements, pars-i) = {
elements = elements.filter(is-elmt)
elements = unwrap-syncs(elements)
@ -326,7 +325,7 @@
participants = init-lifelines(participants)
let pars-i = get-participants-i(participants)
let widths = get-columns-width(participants, elements, pars-i)
let widths = compute-columns-width(participants, elements, pars-i)
// Compute each column's X position
let x-pos = (0,)