patch holes in highlighting query span
+ make sure disable-highlighting works again
This commit is contained in:
parent
d4607c68f7
commit
bdb5dabba5
3 changed files with 9 additions and 6 deletions
|
|
@ -121,7 +121,7 @@ function App() {
|
|||
return () => window.removeEventListener('keydown', handleKeyPress);
|
||||
}, [pattern, code, activateCode, cycle]);
|
||||
|
||||
useHighlighting({ view, pattern, started: cycle.started });
|
||||
useHighlighting({ view, pattern, active: cycle.started && !activeCode?.includes('strudel disable-highlighting') });
|
||||
|
||||
useWebMidi({
|
||||
ready: useCallback(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue