Close-shop-and-stats key mapping doesn't seem to exist

pull/380/head
isaisstillalive 4 years ago
parent 503f9a7fe5
commit 50c53ec1f2

@ -197,7 +197,7 @@ export class HUDShop extends BaseHUDPart {
this.keyActionMapper = new KeyActionMapper(this.root, this.inputReciever);
this.keyActionMapper.getBinding(KEYMAPPINGS.general.back).add(this.close, this);
this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.keybindingsOverlay.pipette).add(this.close, this);
this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.menuClose).add(this.close, this);
this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.menuOpenShop).add(this.close, this);
this.close();

@ -81,7 +81,7 @@ export class HUDStatistics extends BaseHUDPart {
this.keyActionMapper = new KeyActionMapper(this.root, this.inputReciever);
this.keyActionMapper.getBinding(KEYMAPPINGS.general.back).add(this.close, this);
this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.keybindingsOverlay.pipette).add(this.close, this);
this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.menuClose).add(this.close, this);
this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.menuOpenStats).add(this.close, this);
/** @type {Object.<string, HUDShapeStatisticsHandle>} */

@ -20,6 +20,7 @@ export const KEYMAPPINGS = {
ingame: {
menuOpenShop: { keyCode: key("F") },
menuOpenStats: { keyCode: key("G") },
menuClose: { keyCode: key("Q") },
toggleHud: { keyCode: 113 }, // F2
exportScreenshot: { keyCode: 114 }, // F3PS

@ -796,6 +796,7 @@ keybindings:
menuOpenShop: Upgrades
menuOpenStats: Statistics
menuClose: Close Menu
toggleHud: Toggle HUD
toggleFPSInfo: Toggle FPS and Debug Info

@ -760,6 +760,7 @@ keybindings:
menuOpenShop: アップグレード
menuOpenStats: 統計情報
menuClose: メニューを閉じる
toggleHud: HUD切り替え
toggleFPSInfo: FPS、デバッグ情報表示切り替え

Loading…
Cancel
Save