use new getTime callback in repl + mini repl
This commit is contained in:
parent
7b0c80c8be
commit
ec4cfe6f86
2 changed files with 13 additions and 2 deletions
|
|
@ -144,7 +144,12 @@ function App() {
|
|||
return () => window.removeEventListener('keydown', handleKeyPress, true);
|
||||
}, [pattern, code, activateCode, cycle, view]);
|
||||
|
||||
useHighlighting({ view, pattern, active: cycle.started && !activeCode?.includes('strudel disable-highlighting') });
|
||||
useHighlighting({
|
||||
view,
|
||||
pattern,
|
||||
active: cycle.started && !activeCode?.includes('strudel disable-highlighting'),
|
||||
getTime: () => Tone.getTransport().seconds,
|
||||
});
|
||||
|
||||
useWebMidi({
|
||||
ready: useCallback(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue