mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Make letter keys work properly
This commit is contained in:
parent
2f1c5ef04d
commit
2aa3506bb5
@ -262,7 +262,7 @@ export function getStringForKeyCode(code) {
|
||||
return "'";
|
||||
}
|
||||
|
||||
return "<22>";
|
||||
return code >= 65 && code <= 90 ? String.fromCharCode(code) : "<22>";
|
||||
}
|
||||
|
||||
export class Keybinding {
|
||||
|
Loading…
Reference in New Issue
Block a user