change(player): change trail color
This commit is contained in:
parent
f57cc13cd1
commit
3124913980
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ export default class MouseTrail {
|
|||
const spreadRate = LINE_WIDTH_START * (1 - inc);
|
||||
this.context.lineJoin = 'round';
|
||||
this.context.lineWidth = spreadRate;
|
||||
this.context.strokeStyle = `rgb(255, ${Math.floor(200 - 255 * dec)}, ${Math.floor(200 - 255 * inc)})`
|
||||
this.context.strokeStyle = `rgba(60, 170, 170, ${dec})`
|
||||
|
||||
this.context.beginPath();
|
||||
this.context.moveTo(lastPoint.x, lastPoint.y);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue