refactored sequences, sync and gaps

This commit is contained in:
2025-07-14 16:30:25 +02:00
parent e27bb9a9eb
commit 3a1c274e83
10 changed files with 849 additions and 401 deletions

View File

@ -95,8 +95,9 @@
#let set-ctx(func) = draw.set-ctx(c => {
let ctx = c.shared-state.chronos
ctx = func(ctx)
c.shared-state.chronos = ctx
let new-ctx = func(ctx)
assert(new-ctx != none, message: "set-ctx must return a context!")
c.shared-state.chronos = new-ctx
return c
})