mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-23 11:38:37 +00:00
fix: #122 was still not fixed for async patterns
This commit is contained in:
parent
6306cc9c34
commit
5cd80b5817
@ -89,8 +89,8 @@ function App() {
|
|||||||
const handleKeyPress = async (e) => {
|
const handleKeyPress = async (e) => {
|
||||||
if (e.ctrlKey || e.altKey) {
|
if (e.ctrlKey || e.altKey) {
|
||||||
if (e.code === 'Enter') {
|
if (e.code === 'Enter') {
|
||||||
await activateCode();
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
await activateCode();
|
||||||
} else if (e.code === 'Period') {
|
} else if (e.code === 'Period') {
|
||||||
cycle.stop();
|
cycle.stop();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user