Skip to content

Commit

Permalink
fix: changed pauseOnOutsideViewport to be false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
KolCrooks committed Oct 9, 2020
1 parent e28a624 commit 8a6f79d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion core/main/src/Options/Classes/Options.ts
Expand Up @@ -78,7 +78,7 @@ export class Options implements IOptions, IOptionLoader<IOptions> {
this.motion = new Motion();
this.particles = new Particles();
this.pauseOnBlur = true;
this.pauseOnOutsideViewport = true;
this.pauseOnOutsideViewport = false;
this.themes = [];
}

Expand Down
2 changes: 1 addition & 1 deletion core/main/tests/Options.ts
Expand Up @@ -156,7 +156,7 @@ describe("Options tests", () => {
expect(options.pauseOnBlur).to.be.true;

/** pause on Element Outside Viewport*/
expect(options.pauseOnOutsideViewport).to.be.true;
expect(options.pauseOnOutsideViewport).to.be.false;
});

it("check default preset options", () => {
Expand Down
2 changes: 1 addition & 1 deletion demo/jquery/public/presets/fontawesome.json
Expand Up @@ -195,7 +195,7 @@
"enable": false
},
"pauseOnBlur": true,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"config_demo": {
"hide_card": false,
"background_color": "#0d47a1",
Expand Down
2 changes: 1 addition & 1 deletion demo/jquery/public/presets/trail.json
Expand Up @@ -111,7 +111,7 @@
},
"retina_detect": true,
"pauseOnBlur": false,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"config_demo": {
"hide_card": true,
"background_color": "#0d47a1",
Expand Down
2 changes: 1 addition & 1 deletion demo/main/public/presets/fontawesome.json
Expand Up @@ -194,7 +194,7 @@
"enable": false
},
"pauseOnBlur": true,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"background": {
"color": "#0d47a1",
"image": "",
Expand Down
2 changes: 1 addition & 1 deletion demo/main/public/presets/reactBubbles.json
Expand Up @@ -224,7 +224,7 @@
"enable": false
},
"pauseOnBlur": true,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"background": {
"color": "#0d47a1",
"image": "",
Expand Down
2 changes: 1 addition & 1 deletion demo/main/public/presets/reactMultipleImages.json
Expand Up @@ -242,7 +242,7 @@
"enable": false
},
"pauseOnBlur": true,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"background": {
"color": "#0d47a1",
"image": "",
Expand Down
2 changes: 1 addition & 1 deletion demo/main/public/presets/reactNightSky.json
Expand Up @@ -224,7 +224,7 @@
"enable": false
},
"pauseOnBlur": true,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"background": {
"color": "#0d47a1",
"image": "",
Expand Down
2 changes: 1 addition & 1 deletion demo/main/public/presets/reactPolygonMask.json
Expand Up @@ -224,7 +224,7 @@
"enable": false
},
"pauseOnBlur": true,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"background": {
"color": "#0d47a1",
"image": "",
Expand Down
2 changes: 1 addition & 1 deletion demo/main/public/presets/reactSimple.json
Expand Up @@ -224,7 +224,7 @@
"enable": false
},
"pauseOnBlur": true,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"background": {
"color": "#0d47a1",
"image": "",
Expand Down
2 changes: 1 addition & 1 deletion demo/main/public/presets/reactSnow.json
Expand Up @@ -224,7 +224,7 @@
"enable": false
},
"pauseOnBlur": true,
"pauseOnOutsideViewport": true,
"pauseOnOutsideViewport": false,
"background": {
"color": "#0d47a1",
"image": "",
Expand Down

0 comments on commit 8a6f79d

Please sign in to comment.