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

This commit is contained in:
isaisstillalive 2020-07-03 17:31:19 +09:00
parent 503f9a7fe5
commit 50c53ec1f2
5 changed files with 5 additions and 2 deletions

View File

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

View File

@ -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>} */

View File

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

View File

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

View File

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