mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-20 23:09:22 +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 (
|
if (
|
||||||
button === enumMouseButton.right &&
|
button === enumMouseButton.right &&
|
||||||
metaBuilding &&
|
metaBuilding &&
|
||||||
!this.root.app.settings.getSetting("canDeleteWhileBuilding")
|
this.root.app.settings.getAllSettings().clearCursorOnDeleteWhilePlacing
|
||||||
) {
|
) {
|
||||||
this.currentMetaBuilding.set(null);
|
this.currentMetaBuilding.set(null);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -285,8 +285,7 @@ export const allApplicationSettings = [
|
|||||||
new BoolSetting("disableTileGrid", enumCategories.performance, (app, value) => {}),
|
new BoolSetting("disableTileGrid", enumCategories.performance, (app, value) => {}),
|
||||||
new BoolSetting("lowQualityTextures", enumCategories.performance, (app, value) => {}),
|
new BoolSetting("lowQualityTextures", enumCategories.performance, (app, value) => {}),
|
||||||
new BoolSetting("simplifiedBelts", enumCategories.performance, (app, value) => {}),
|
new BoolSetting("simplifiedBelts", enumCategories.performance, (app, value) => {}),
|
||||||
new BoolSetting("middleMousePan", categoryGame, (app, value) => {}),
|
new BoolSetting("middleMousePan", enumCategories.userInterface, (app, value) => {}),
|
||||||
new BoolSetting("canDeleteWhileBuilding", categoryGame, (app, value) => {}),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export function getApplicationSettingById(id) {
|
export function getApplicationSettingById(id) {
|
||||||
@ -320,7 +319,6 @@ class SettingsStorage {
|
|||||||
this.pickMinerOnPatch = true;
|
this.pickMinerOnPatch = true;
|
||||||
this.enableMousePan = true;
|
this.enableMousePan = true;
|
||||||
this.middleMousePan = false;
|
this.middleMousePan = false;
|
||||||
this.canDeleteWhileBuilding = false;
|
|
||||||
|
|
||||||
this.enableColorBlindHelper = false;
|
this.enableColorBlindHelper = false;
|
||||||
|
|
||||||
@ -689,7 +687,6 @@ export class ApplicationSettings extends ReadWriteProxy {
|
|||||||
|
|
||||||
if (data.version < 31) {
|
if (data.version < 31) {
|
||||||
data.settings.middleMousePan = false;
|
data.settings.middleMousePan = false;
|
||||||
data.settings.canDeleteWhileBuilding = false;
|
|
||||||
data.version = 31;
|
data.version = 31;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1079,11 +1079,6 @@ settings:
|
|||||||
description: >-
|
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.
|
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:
|
keybindings:
|
||||||
title: Keybindings
|
title: Keybindings
|
||||||
hint: >-
|
hint: >-
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user