Put back listeners commented for testing
This commit is contained in:
parent
5a56e46f7b
commit
323505fbb4
1 changed files with 2 additions and 2 deletions
|
@ -188,8 +188,8 @@ export const usePTT = (
|
|||
}
|
||||
|
||||
window.addEventListener("keydown", onKeyDown);
|
||||
//window.addEventListener("keyup", onKeyUp);
|
||||
//window.addEventListener("blur", onBlur);
|
||||
window.addEventListener("keyup", onKeyUp);
|
||||
window.addEventListener("blur", onBlur);
|
||||
|
||||
return () => {
|
||||
window.removeEventListener("keydown", onKeyDown);
|
||||
|
|
Loading…
Add table
Reference in a new issue