1
0
forked from noxious/client

Fix hotkey event not working

This commit is contained in:
Colin Kallemein 2024-10-22 20:28:49 +02:00
parent 2870fea15e
commit 141cd225c8

View File

@ -139,7 +139,7 @@ function keyPress(event: KeyboardEvent) {
}
onMounted(() => {
window.addEventListener('keyup', keyPress)
window.addEventListener('keydown', keyPress)
})
onBeforeUnmount(() => {