mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
better formatting
This commit is contained in:
parent
36b68cc944
commit
1f8728a212
@ -262,7 +262,9 @@ export function getStringForKeyCode(code) {
|
|||||||
return "'";
|
return "'";
|
||||||
}
|
}
|
||||||
|
|
||||||
return 48 <= code && code <= 57 || 65 <= code && code <= 90 ? String.fromCharCode(code) : "[" + code + "]";
|
return (48 <= code && code <= 57) || (65 <= code && code <= 90)
|
||||||
|
? String.fromCharCode(code)
|
||||||
|
: "[" + code + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Keybinding {
|
export class Keybinding {
|
||||||
|
Loading…
Reference in New Issue
Block a user