Disable wires content for now (so we can push a sub-update)

This commit is contained in:
tobspr 2020-06-27 09:38:41 +02:00
parent 8ba0a36ee1
commit c74843424a
5 changed files with 20 additions and 12 deletions

View File

@ -407,8 +407,8 @@ export class GameCore {
systems.storage.draw(params);
}
// WIRES LAYER
root.hud.parts.wiresOverlay.draw(params);
// WIRES
// root.hud.parts.wiresOverlay.draw(params);
if (this.root.editMode === enumEditMode.wires) {
systems.wiredPins.drawWiresLayer(params);

View File

@ -72,7 +72,9 @@ export class GameHUD {
dialogs: new HUDModalDialogs(this.root),
screenshotExporter: new HUDScreenshotExporter(this.root),
shapeViewer: new HUDShapeViewer(this.root),
wiresOverlay: new HUDWiresOverlay(this.root),
// WIRES
// wiresOverlay: new HUDWiresOverlay(this.root),
// Typing hints
/* typehints:start */

View File

@ -23,7 +23,9 @@ const toolbarBuildings = [
MetaMixerBuilding,
MetaPainterBuilding,
MetaTrashBuilding,
MetaEnergyGenerator,
// WIRES
// MetaEnergyGenerator,
];
export class HUDBuildingsToolbar extends HUDBaseToolbar {

View File

@ -255,12 +255,13 @@ export class HUDKeybindingOverlay extends BaseHUDPart {
condition: () => this.anythingSelectedOnMap,
},
{
// Switch layers
label: T.ingame.keybindingsOverlay.switchLayers,
keys: [k.ingame.switchLayers],
condition: () => true,
},
// WIRES
// {
// // Switch layers
// label: T.ingame.keybindingsOverlay.switchLayers,
// keys: [k.ingame.switchLayers],
// condition: () => true,
// },
];
if (!this.root.app.settings.getAllSettings().alwaysMultiplace) {

View File

@ -27,7 +27,8 @@ export const KEYMAPPINGS = {
exportScreenshot: { keyCode: 114 }, // F3PS
toggleFPSInfo: { keyCode: 115 }, // F4
switchLayers: { keyCode: key("Y") },
// WIRES
// switchLayers: { keyCode: key("Y") },
},
navigation: {
@ -55,7 +56,9 @@ export const KEYMAPPINGS = {
mixer: { keyCode: key("8") },
painter: { keyCode: key("9") },
trash: { keyCode: key("0") },
energy_generator: { keyCode: key("O") },
// WIRES
// energy_generator: { keyCode: key("O") },
},
placement: {