tsparticles 1.37.1 → 1.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Core/Container.d.ts +1 -0
- package/Core/Container.js +2 -0
- package/browser/Core/Container.d.ts +1 -0
- package/browser/Core/Container.js +2 -0
- package/browser/Plugins/PolygonMask/plugin.js +3 -1
- package/esm/Core/Container.d.ts +1 -0
- package/esm/Core/Container.js +2 -0
- package/package.json +1 -1
- package/report.html +2 -2
- package/report.slim.html +2 -2
- package/tsparticles.js +271 -7
- package/tsparticles.min.js +2 -2
- package/tsparticles.pathseg.js +1472 -0
- package/tsparticles.slim.js +3 -1
- package/tsparticles.slim.min.js +2 -2
package/tsparticles.slim.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var a = factory();
|
|
4
4
|
for (var i in a) (typeof exports === "object" ? exports : root)[i] = a[i];
|
|
5
5
|
}
|
|
6
|
-
})(
|
|
6
|
+
})(window, (function() {
|
|
7
7
|
return function() {
|
|
8
8
|
"use strict";
|
|
9
9
|
var __webpack_require__ = {};
|
|
@@ -6308,6 +6308,7 @@
|
|
|
6308
6308
|
this.zLayers = 100;
|
|
6309
6309
|
this.pageHidden = false;
|
|
6310
6310
|
this._sourceOptions = sourceOptions;
|
|
6311
|
+
this._initialSourceOptions = sourceOptions;
|
|
6311
6312
|
this.retina = new Retina(this);
|
|
6312
6313
|
this.canvas = new Canvas(this);
|
|
6313
6314
|
this.particles = new Particles(this);
|
|
@@ -6607,6 +6608,7 @@
|
|
|
6607
6608
|
this.drawers.set(type, drawer);
|
|
6608
6609
|
}
|
|
6609
6610
|
}
|
|
6611
|
+
this._options.load(this._initialSourceOptions);
|
|
6610
6612
|
this._options.load(this._sourceOptions);
|
|
6611
6613
|
this.actualOptions = new Options;
|
|
6612
6614
|
this.actualOptions.load(this._options);
|