Skip to content

Commit

Permalink
Merge pull request #155 from matteobruni/patch-1.10.4
Browse files Browse the repository at this point in the history
release 1.10.4
  • Loading branch information
matteobruni committed Mar 20, 2020
2 parents c42f500 + 273cfda commit cce7e1a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "tsparticles",
"version": "1.10.3",
"version": "1.10.4",
"description": "Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.",
"homepage": "https://particles.matteobruni.it/",
"scripts": {
Expand Down
9 changes: 9 additions & 0 deletions src/Classes/Options/PolygonMask/PolygonMaskDrawStroke.ts
Expand Up @@ -11,5 +11,14 @@ export class PolygonMaskDrawStroke implements IPolygonMaskDrawStroke {
}

public load(data?: RecursivePartial<IPolygonMaskDrawStroke>): void {
if (data !== undefined) {
if (data.color !== undefined) {
this.color = data.color;
}

if (data.width !== undefined) {
this.width = data.width;
}
}
}
}
2 changes: 1 addition & 1 deletion src/Main.ts
Expand Up @@ -6,7 +6,7 @@
/* Demo / Generator : https://particles.matteobruni.it/
/* GitHub : https://www.github.com/matteobruni/tsparticles
/* How to use? : Check the GitHub README
/* v1.10.3
/* v1.10.4
/* ----------------------------------------------- */
import {Container} from "./Classes/Container";
import {Loader} from "./Classes/Loader";
Expand Down
2 changes: 1 addition & 1 deletion tsParticles.nuspec
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>tsParticles</id>
<version>1.10.3</version>
<version>1.10.4</version>
<title>tsparticles</title>
<authors>Matteo Bruni</authors>
<owners>Matteo Bruni</owners>
Expand Down

0 comments on commit cce7e1a

Please sign in to comment.