From 9bfdab083cbd3b1cc1814e5b5edf8ce64fe28e90 Mon Sep 17 00:00:00 2001 From: Evan Date: Wed, 20 Nov 2024 20:47:31 -0800 Subject: [PATCH] make structure background translucent --- src/client/graphics/layers/StructureLayer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/graphics/layers/StructureLayer.ts b/src/client/graphics/layers/StructureLayer.ts index bb8199485..cd47b1fc9 100644 --- a/src/client/graphics/layers/StructureLayer.ts +++ b/src/client/graphics/layers/StructureLayer.ts @@ -130,7 +130,7 @@ export class StructureLayer implements Layer { .forEach(t => this.paintCell(t.cell(), this.theme.borderColor(event.unit.owner().info()), 255)); bfs(event.unit.tile(), euclDist(event.unit.tile(), config.territoryRadius)) - .forEach(t => this.paintCell(t.cell(), this.theme.territoryColor(event.unit.owner().info()), 255)); + .forEach(t => this.paintCell(t.cell(), this.theme.territoryColor(event.unit.owner().info()), 130)); // Draw the icon this.renderIcon(iconData, startX, startY, tempCanvas.width, tempCanvas.height, event.unit);