mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-03 14:01:56 -04:00
use new getTime callback in repl + mini repl
This commit is contained in:
+6
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user