mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-15 23:58:33 +00:00
add todo
This commit is contained in:
parent
08f8a7a17c
commit
ab9871640a
@ -730,7 +730,11 @@ export class Pattern {
|
||||
.map((event) => {
|
||||
const resetSpan = new TimeSpan(event.part.begin.sub(event.whole.begin), event.duration);
|
||||
return this.query(new State(resetSpan)).map((hap) =>
|
||||
hap.withSpan((s) => s.withTime((t) => t.add(event.whole.begin))).setContext(hap.combineContext(event)),
|
||||
hap
|
||||
.withSpan(
|
||||
(s) => s.withTime((t) => t.add(event.whole.begin)), // TODO: somehow make sure span end does not overlap next event of pat
|
||||
)
|
||||
.setContext(hap.combineContext(event)),
|
||||
);
|
||||
})
|
||||
.flat(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user