Skip to content
Permalink
Browse files
Release 2.1.1
  • Loading branch information
bendc committed May 4, 2018
1 parent 1123e1d commit f0266f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
@@ -1,5 +1,5 @@
/*
* Animate Plus v2.1.0
* Animate Plus v2.1.1
* Copyright (c) 2017-2018 Benjamin De Cock
* http://animateplus.com/license
*/
@@ -49,8 +49,9 @@ const blurs = {
style: "position: absolute; width: 0; height: 0"
});
const filter = createSVG("filter", this.axes.reduce((attributes, axis) => {
attributes[axis] = `-${blur[axis]}%`;
attributes[axis == "x" ? "width" : "height"] = `${100 + blur[axis] * 2}%`;
const offset = blur[axis] * 2;
attributes[axis] = `-${offset}%`;
attributes[axis == "x" ? "width" : "height"] = `${100 + offset * 2}%`;
return attributes;
},{
id,
@@ -1,6 +1,6 @@
{
"name": "animateplus",
"version": "2.1.0",
"version": "2.1.1",
"description": "A+ animation module for the modern web",
"main": "animateplus.js",
"repository": {

0 comments on commit f0266f6

Please sign in to comment.