fix keybindings on safari

This commit is contained in:
Felix Roos 2022-04-02 22:40:35 +02:00
parent 86b1e992a1
commit 0c726d835d

View File

@ -77,8 +77,10 @@ function App() {
if (e.ctrlKey || e.altKey) {
if (e.code === 'Enter') {
await activateCode();
e.preventDefault();
} else if (e.code === 'Period') {
cycle.stop();
e.preventDefault();
}
}
};