Merge remote-tracking branch 'origin/HEAD' into webdirt
This commit is contained in:
commit
e86144255c
4 changed files with 12 additions and 6 deletions
|
|
@ -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') });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue