mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-12 02:49:20 +00:00
fix key overlay
This commit is contained in:
parent
f18c670225
commit
1d13a8fcfa
@ -19,7 +19,7 @@ export class HUDKeybindingOverlay extends BaseHUDPart {
|
||||
const mapper = this.root.keyMapper;
|
||||
|
||||
const getKeycode = id => {
|
||||
return getStringForKeyCode(mapper.getBinding(id).keyCode);
|
||||
return getStringForKeyCode(mapper.getBinding(id).keyCodes[0]);
|
||||
};
|
||||
|
||||
this.element = makeDiv(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user