mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 13:38:40 +00:00
fix firefox keypress
This commit is contained in:
parent
b3c853ee26
commit
d417d5b314
@ -56,8 +56,8 @@ function App() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
document.addEventListener('keypress', handleKeyPress);
|
window.addEventListener('keydown', handleKeyPress);
|
||||||
return () => document.removeEventListener('keypress', handleKeyPress);
|
return () => window.removeEventListener('keydown', handleKeyPress);
|
||||||
}, [pattern, code]);
|
}, [pattern, code]);
|
||||||
|
|
||||||
useWebMidi({
|
useWebMidi({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user