mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
Fix browser hotkeys not working
CTRL+C for copying text CTRL+F for focusing search box above chat log CTRL+SHIFT+I for inspector tools
This commit is contained in:
@@ -9,7 +9,7 @@ function isKeyEventInvalid(e: KeyboardEvent) {
|
||||
}
|
||||
|
||||
function allowKey(key: number) {
|
||||
return key === Key.ESCAPE || key === Key.F5 || key === Key.F12 || key === Key.F11 || key === Key.TAB;
|
||||
return key === Key.ESCAPE || key === Key.F5 || key === Key.F12 || key === Key.F11 || key === Key.TAB || key === Key.KEY_C || key === Key.KEY_I;
|
||||
}
|
||||
|
||||
function fixKeyCode(key: number) {
|
||||
|
||||
Reference in New Issue
Block a user