mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 04:10:59 -05:00
Adjust the balls on Canvas graph
This commit is contained in:
parent
40b9a08c1e
commit
616e764e4e
@ -106,7 +106,7 @@ export default class CanvasBuilder {
|
|||||||
// Balls. What else? I mean.. I'm not that creative, I'm just a comment not a funny comedian.
|
// Balls. What else? I mean.. I'm not that creative, I'm just a comment not a funny comedian.
|
||||||
this.ctx.fillStyle = type === 'players' ? gradient : null;
|
this.ctx.fillStyle = type === 'players' ? gradient : null;
|
||||||
this.ctx.beginPath();
|
this.ctx.beginPath();
|
||||||
this.ctx.arc(X, Y, this.ctx.lineWidth * 1.2, 0, 2 * Math.PI);
|
this.ctx.arc(X, Y, this.ctx.lineWidth * 0.8, 1, 2 * Math.PI);
|
||||||
this.ctx.closePath();
|
this.ctx.closePath();
|
||||||
this.ctx.fill();
|
this.ctx.fill();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user