mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-18 22:09:20 +00:00
Fixes interactions between old commits and new master.
This commit is contained in:
parent
bd6fc395a1
commit
0e998bbdbb
@ -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);
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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: >-
|
||||
|
||||
Loading…
Reference in New Issue
Block a user