removed interior area fill

This commit is contained in:
bijx
2026-01-08 15:55:26 -05:00
parent a334da77dc
commit 12f800209e
@@ -240,20 +240,6 @@ export class FactoryRadiusLayer implements Layer {
}
}
private drawFill(ctx: CanvasRenderingContext2D) {
const fillColor = "rgba(0, 255, 0, 0.12)";
const offsetX = -this.game.width() / 2;
const offsetY = -this.game.height() / 2;
// Draw filled circles (the fill naturally unions due to transparency)
ctx.fillStyle = fillColor;
for (const circle of this.factoryRanges) {
ctx.beginPath();
ctx.arc(circle.x + offsetX, circle.y + offsetY, circle.r, 0, Math.PI * 2);
ctx.fill();
}
}
private computeCircleUnions() {
this.factoryRanges = this.getMyFactoryRanges();
for (const circle of this.factoryRanges) {
@@ -266,9 +252,6 @@ export class FactoryRadiusLayer implements Layer {
context.save();
// Draw the fill first (uses natural transparency blending)
this.drawFill(context);
// Draw only the outer arc segments for the stroke
for (const circle of this.factoryRanges) {
this.drawArcSegments(context, circle);