refactored sequences, sync and gaps
This commit is contained in:
@ -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
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user