mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-17 05:19:19 +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 mapper = this.root.keyMapper;
|
||||||
|
|
||||||
const getKeycode = id => {
|
const getKeycode = id => {
|
||||||
return getStringForKeyCode(mapper.getBinding(id).keyCode);
|
return getStringForKeyCode(mapper.getBinding(id).keyCodes[0]);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.element = makeDiv(
|
this.element = makeDiv(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user