This commit is contained in:
Timm Szigat 2014-10-26 15:01:10 +01:00
parent 162748b1d1
commit c7e717495f

View File

@ -153,7 +153,7 @@
ctx.beginPath();
ctx.moveTo(p.x, p.y);
ctx.lineTo(p.closest[i].x, p.closest[i].y);
ctx.strokeStyle = 'rgba(156,217,249,'+ p.active+')';
ctx.strokeStyle = 'rgba(210,212,188,'+ p.active+')';
ctx.stroke();
}
}
@ -172,7 +172,7 @@
if(!_this.active) return;
ctx.beginPath();
ctx.arc(_this.pos.x, _this.pos.y, _this.radius, 0, 2 * Math.PI, false);
ctx.fillStyle = 'rgba(156,217,249,'+ _this.active+')';
ctx.fillStyle = 'rgba(210,212,188,'+ _this.active+')';
ctx.fill();
};
}