renamed get- to compute-columns-widths
This commit is contained in:
@ -8,7 +8,6 @@
|
|||||||
#import "../sync.typ"
|
#import "../sync.typ"
|
||||||
#import "../consts.typ": *
|
#import "../consts.typ": *
|
||||||
#import "../note.typ" as note: get-note-box
|
#import "../note.typ" as note: get-note-box
|
||||||
#import "../styles.typ"
|
|
||||||
|
|
||||||
#let DEBUG-INVISIBLE = false
|
#let DEBUG-INVISIBLE = false
|
||||||
|
|
||||||
@ -301,7 +300,7 @@
|
|||||||
return widths
|
return widths
|
||||||
}
|
}
|
||||||
|
|
||||||
#let get-columns-width(participants, elements, pars-i) = {
|
#let compute-columns-width(participants, elements, pars-i) = {
|
||||||
elements = elements.filter(is-elmt)
|
elements = elements.filter(is-elmt)
|
||||||
elements = unwrap-syncs(elements)
|
elements = unwrap-syncs(elements)
|
||||||
|
|
||||||
@ -326,7 +325,7 @@
|
|||||||
participants = init-lifelines(participants)
|
participants = init-lifelines(participants)
|
||||||
let pars-i = get-participants-i(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
|
// Compute each column's X position
|
||||||
let x-pos = (0,)
|
let x-pos = (0,)
|
||||||
|
Reference in New Issue
Block a user