refactor: Use new keyboard mode

This commit is contained in:
Asura
2022-07-11 08:14:57 -07:00
parent e82e0bf697
commit 956cef4a1c
2 changed files with 15 additions and 1 deletions

View File

@@ -421,7 +421,8 @@ impl Connection {
msg.down = true;
}
handle_key(&msg);
if press {
let keyboard_mode = 1;
if press && keyboard_mode != 1{
msg.down = false;
handle_key(&msg);
}