tsparticles 2.11.0 → 2.11.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
- * v2.11.0
7
+ * v2.11.1
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
@@ -6043,8 +6043,8 @@ class Particles {
6043
6043
  }
6044
6044
  async draw(delta) {
6045
6045
  const container = this._container;
6046
- await this.update(delta);
6047
6046
  container.canvas.clear();
6047
+ await this.update(delta);
6048
6048
  for (const [, plugin] of container.plugins) {
6049
6049
  container.canvas.drawPlugin(plugin, delta);
6050
6050
  }
@@ -6893,7 +6893,7 @@ class Engine {
6893
6893
  return res;
6894
6894
  }
6895
6895
  get version() {
6896
- return "2.11.0";
6896
+ return "2.11.1";
6897
6897
  }
6898
6898
  addConfig(nameOrConfig, config) {
6899
6899
  if (isString(nameOrConfig)) {