fix: highlighting sync

This commit is contained in:
Felix Roos 2022-11-10 17:15:10 +01:00
parent c7c90b0647
commit 372bdf8be7
10 changed files with 347 additions and 335 deletions

View file

@ -49,7 +49,7 @@ export function MiniRepl({ tune, hideOutsideView = false, init, enableKeyboard }
view,
pattern,
active: started && !activeCode?.includes('strudel disable-highlighting'),
getTime: () => scheduler.phase,
getTime: () => scheduler.getPhase(),
});
// set active pattern on ctrl+enter