added alt/else, loops and other group shortcuts

This commit is contained in:
2024-10-04 19:19:17 +02:00
parent 56cc1b11c0
commit feff030510
6 changed files with 96 additions and 9 deletions

View File

@ -185,7 +185,7 @@
// Compute groups spans (horizontal)
for (i, elmt) in elmts.enumerate() {
if elmt.type == "grp" {
if elmt.type == "grp" or elmt.type == "alt" {
let (min-i, max-i) = get-group-span(participants, elmt)
elmts.at(i).insert("min-i", min-i)
elmts.at(i).insert("max-i", max-i)