mend
This commit is contained in:
parent
b51339fb98
commit
d1a6ee3091
@ -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();
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user