mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: Confetti should go all the way to the right
This commit is contained in:
parent
afe1a8e895
commit
899779b3c4
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class Particle {
|
||||||
|
|
||||||
reset() {
|
reset() {
|
||||||
this.y = -SIZE;
|
this.y = -SIZE;
|
||||||
this.origX = Math.random() * width;
|
this.origX = Math.random() * (width + SIZE);
|
||||||
this.speed = 1 + Math.random();
|
this.speed = 1 + Math.random();
|
||||||
this.ang = Math.random() * 2 * Math.PI;
|
this.ang = Math.random() * 2 * Math.PI;
|
||||||
this.scale = (Math.random() * 0.5);
|
this.scale = (Math.random() * 0.5);
|
||||||
|
|
Loading…
Reference in a new issue