diff --git a/src/js/game/hud/parts/building_placer_logic.js b/src/js/game/hud/parts/building_placer_logic.js index a7aa9fd1..c93dce0e 100644 --- a/src/js/game/hud/parts/building_placer_logic.js +++ b/src/js/game/hud/parts/building_placer_logic.js @@ -678,7 +678,7 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart { if ( button === enumMouseButton.right && metaBuilding && - !this.root.app.settings.getSetting("canDeleteWhileBuilding") + this.root.app.settings.getAllSettings().clearCursorOnDeleteWhilePlacing ) { this.currentMetaBuilding.set(null); } diff --git a/src/js/profile/application_settings.js b/src/js/profile/application_settings.js index 9ec5d541..9e25de0e 100644 --- a/src/js/profile/application_settings.js +++ b/src/js/profile/application_settings.js @@ -285,8 +285,7 @@ export const allApplicationSettings = [ new BoolSetting("disableTileGrid", enumCategories.performance, (app, value) => {}), new BoolSetting("lowQualityTextures", enumCategories.performance, (app, value) => {}), new BoolSetting("simplifiedBelts", enumCategories.performance, (app, value) => {}), - new BoolSetting("middleMousePan", categoryGame, (app, value) => {}), - new BoolSetting("canDeleteWhileBuilding", categoryGame, (app, value) => {}), + new BoolSetting("middleMousePan", enumCategories.userInterface, (app, value) => {}), ]; export function getApplicationSettingById(id) { @@ -320,7 +319,6 @@ class SettingsStorage { this.pickMinerOnPatch = true; this.enableMousePan = true; this.middleMousePan = false; - this.canDeleteWhileBuilding = false; this.enableColorBlindHelper = false; @@ -689,7 +687,6 @@ export class ApplicationSettings extends ReadWriteProxy { if (data.version < 31) { data.settings.middleMousePan = false; - data.settings.canDeleteWhileBuilding = false; data.version = 31; } diff --git a/translations/base-en.yaml b/translations/base-en.yaml index 90b6886c..b747d5e2 100644 --- a/translations/base-en.yaml +++ b/translations/base-en.yaml @@ -1079,11 +1079,6 @@ settings: description: >- Click and drag with the middle mouse button instead of the left mouse button to pan the camera. Allows panning camera while a building is selected. - canDeleteWhileBuilding: - title: Immediate Delete Mode - description: >- - Enabling this will disable deselecting with right click and allow you to immediately delete buildings and structures without deselecting your current building. - keybindings: title: Keybindings hint: >-