forked from MapComplete/MapComplete
Streamline hotkeys
This commit is contained in:
parent
df01b1683a
commit
f95a1a8039
2 changed files with 4 additions and 9 deletions
|
|
@ -113,6 +113,9 @@ export default class Hotkeys {
|
|||
if (keycode.length == 1) {
|
||||
keycode = keycode.toUpperCase()
|
||||
}
|
||||
if (keycode === " ") {
|
||||
keycode = "Spacebar"
|
||||
}
|
||||
modifiers.push(keycode)
|
||||
return <[string, string | Translation]>[modifiers.join("+"), documentation]
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue