@tsparticles/all 3.0.0 → 3.0.1
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v3.0.
|
|
7
|
+
* v3.0.1
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -4257,7 +4257,7 @@ class Particles {
|
|
|
4257
4257
|
if (!options.number.density?.enable) {
|
|
4258
4258
|
if (group === undefined) {
|
|
4259
4259
|
this._limit = numberOptions.limit.value;
|
|
4260
|
-
} else {
|
|
4260
|
+
} else if (numberOptions.limit) {
|
|
4261
4261
|
this._groupLimits.set(group, numberOptions.limit.value);
|
|
4262
4262
|
}
|
|
4263
4263
|
return;
|
|
@@ -5146,7 +5146,7 @@ class Engine {
|
|
|
5146
5146
|
return res;
|
|
5147
5147
|
}
|
|
5148
5148
|
get version() {
|
|
5149
|
-
return "3.0.
|
|
5149
|
+
return "3.0.1";
|
|
5150
5150
|
}
|
|
5151
5151
|
addConfig(config) {
|
|
5152
5152
|
const name = config.name ?? "default";
|