mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 18:29:03 +00:00
fixed spacing
This commit is contained in:
@@ -107,7 +107,7 @@ export default class Confetti implements ICanvasEffect {
|
|||||||
|
|
||||||
private resetParticle = (particle: ConfettiParticle, width: number, height: number): ConfettiParticle => {
|
private resetParticle = (particle: ConfettiParticle, width: number, height: number): ConfettiParticle => {
|
||||||
particle.color = this.colors[(Math.random() * this.colors.length) | 0] + (this.options.alpha + ')');
|
particle.color = this.colors[(Math.random() * this.colors.length) | 0] + (this.options.alpha + ')');
|
||||||
if(this.options.gradient) {
|
if (this.options.gradient) {
|
||||||
particle.color2 = this.colors[(Math.random() * this.colors.length) | 0] + (this.options.alpha + ')');
|
particle.color2 = this.colors[(Math.random() * this.colors.length) | 0] + (this.options.alpha + ')');
|
||||||
} else {
|
} else {
|
||||||
particle.color2 = particle.color;
|
particle.color2 = particle.color;
|
||||||
|
|||||||
Reference in New Issue
Block a user