implemented create event + create offset

This commit is contained in:
2024-07-30 12:18:57 +02:00
parent 2c724598e9
commit 0968436c8a
4 changed files with 19 additions and 1 deletions

View File

@ -123,6 +123,16 @@
elmt: elmt,
i: i
)
} else if elmt.type == "evt" {
let par = elmt.participant
if not participant._exists(participants, par) {
let p = _par(par, from-start: elmt.event != "create").first()
participants.push(p)
} else if elmt.event == "create" {
let i = participants.position(p => p.name == par)
participants.at(i).from-start = false
}
}
}
linked = linked.dedup()