Merge remote-tracking branch 'origin/HEAD' into webdirt

This commit is contained in:
Felix Roos 2022-06-02 00:19:10 +02:00
commit e86144255c
4 changed files with 12 additions and 6 deletions

View file

@ -97,8 +97,8 @@ function App() {
}
}
};
window.addEventListener('keydown', handleKeyPress);
return () => window.removeEventListener('keydown', handleKeyPress);
window.addEventListener('keydown', handleKeyPress, true);
return () => window.removeEventListener('keydown', handleKeyPress, true);
}, [pattern, code, activateCode, cycle]);
useHighlighting({ view, pattern, active: cycle.started && !activeCode?.includes('strudel disable-highlighting') });