From 61a527c72188cd6f36a89fc0fd75b8f0b12b57a2 Mon Sep 17 00:00:00 2001 From: Greenlamp Date: Tue, 14 May 2024 00:23:03 +0200 Subject: [PATCH] removed breakpoint --- src/configs/gamepad-utils.ts | 1 - src/ui/settings/abstract-settings-ui-handler.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/configs/gamepad-utils.ts b/src/configs/gamepad-utils.ts index b6968d369..43c6d0920 100644 --- a/src/configs/gamepad-utils.ts +++ b/src/configs/gamepad-utils.ts @@ -80,7 +80,6 @@ export function swapCurrentKeys(config: InterfaceConfig, settingName, pressedBut export function reloadCurrentKeys(config): void { // need to rework this to include keys that were not there at the begining const currentKeys = {}; - debugger; for (const key of Object.keys(config.setting)) { const settingName = config.setting[key]; const action = config.custom[key]; diff --git a/src/ui/settings/abstract-settings-ui-handler.ts b/src/ui/settings/abstract-settings-ui-handler.ts index e92d3dc68..81ddacb18 100644 --- a/src/ui/settings/abstract-settings-ui-handler.ts +++ b/src/ui/settings/abstract-settings-ui-handler.ts @@ -241,7 +241,6 @@ export default abstract class AbstractSettingsUiUiHandler extends UiHandler { if (!activeConfig.custom) return; // For each element in the binding settings, update the icon according to the current assignment. - debugger; for (const elm of this.bindingSettings) { // const key = getKeyForSettingName(activeConfig, elm); // Get the key for the setting name. const {key, icon} = getKeyAndActionFromCurrentKeysWithSettingName(activeConfig, elm);