add todo
This commit is contained in:
parent
08f8a7a17c
commit
ab9871640a
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue