fix minor bugs
This commit is contained in:
parent
3744ea6218
commit
49bcb5e19f
5 changed files with 31 additions and 28 deletions
|
|
@ -96,7 +96,8 @@ function useStrudel({
|
|||
if (drawContext && onDraw) {
|
||||
const [_, lookahead] = drawTime;
|
||||
const haps = pat.queryArc(0, lookahead);
|
||||
onDraw(pat, 0, haps, drawTime);
|
||||
// draw at -0.001 to avoid activating haps at 0
|
||||
onDraw(pat, -0.001, haps, drawTime);
|
||||
}
|
||||
},
|
||||
[drawTime, onDraw],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue