mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 05:39:38 +00:00
make structure background translucent
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user