mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 21:58:37 +00:00
remove old code
This commit is contained in:
parent
5b0e31acf3
commit
69810303e5
@ -36,7 +36,7 @@ Pattern.prototype.draw = function (callback, { from, to, onQuery }) {
|
||||
const begin = currentCycle + from;
|
||||
const end = currentCycle + to;
|
||||
setTimeout(() => {
|
||||
events = this.query(new State(new TimeSpan(begin, end))) //._asNumber(true) // true = silent error
|
||||
events = this.query(new State(new TimeSpan(begin, end)))
|
||||
.filter(Boolean)
|
||||
.filter((event) => event.part.begin.equals(event.whole.begin));
|
||||
onQuery?.(events);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user