mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Confetti should go all the way to the right
This commit is contained in:
@@ -14,7 +14,7 @@ class Particle {
|
||||
|
||||
reset() {
|
||||
this.y = -SIZE;
|
||||
this.origX = Math.random() * width;
|
||||
this.origX = Math.random() * (width + SIZE);
|
||||
this.speed = 1 + Math.random();
|
||||
this.ang = Math.random() * 2 * Math.PI;
|
||||
this.scale = (Math.random() * 0.5);
|
||||
|
||||
Reference in New Issue
Block a user