1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-12 10:59:23 +00:00

fix key overlay

This commit is contained in:
Dimava 2020-06-12 17:39:46 +03:00
parent f18c670225
commit 1d13a8fcfa

View File

@ -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(