Merge branch 'tidalcycles:main' into repl_sync
This commit is contained in:
commit
e5ec62695c
198 changed files with 8854 additions and 4409 deletions
|
|
@ -136,7 +136,7 @@ export class Drawer {
|
|||
this.lastFrame = phase;
|
||||
this.visibleHaps = (this.visibleHaps || [])
|
||||
// filter out haps that are too far in the past (think left edge of screen for pianoroll)
|
||||
.filter((h) => h.whole.end >= phase - lookbehind - lookahead)
|
||||
.filter((h) => h.whole?.end >= phase - lookbehind - lookahead)
|
||||
// add new haps with onset (think right edge bars scrolling in)
|
||||
.concat(haps.filter((h) => h.hasOnset()));
|
||||
const time = phase - lookahead;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue