fix keybindings on safari
This commit is contained in:
parent
86b1e992a1
commit
0c726d835d
1 changed files with 2 additions and 0 deletions
|
|
@ -77,8 +77,10 @@ function App() {
|
||||||
if (e.ctrlKey || e.altKey) {
|
if (e.ctrlKey || e.altKey) {
|
||||||
if (e.code === 'Enter') {
|
if (e.code === 'Enter') {
|
||||||
await activateCode();
|
await activateCode();
|
||||||
|
e.preventDefault();
|
||||||
} else if (e.code === 'Period') {
|
} else if (e.code === 'Period') {
|
||||||
cycle.stop();
|
cycle.stop();
|
||||||
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue