David Catuhe преди 5 години
родител
ревизия
eb97933a3d
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/Particles/particle.ts

+ 1 - 0
src/Particles/particle.ts

@@ -213,6 +213,7 @@ export class Particle {
     /** @hidden */
     public _reset() {
         this.age = 0;
+        this.id = Particle._Count++; 
         this._currentColorGradient = null;
         this._currentSizeGradient = null;
         this._currentAngularSpeedGradient = null;