Increase dimensions of svg filter region to avoid clipping

This commit is contained in:
kangax 2013-07-27 19:52:44 +02:00
parent 7a46482328
commit 34b5eee748
4 changed files with 7 additions and 7 deletions

2
dist/all.js vendored
View file

@ -6400,7 +6400,7 @@ fabric.Shadow = fabric.util.createClass(/** @lends fabric.Shadow.prototype */ {
}
return (
'<filter id="SVGID_' + this.id + '">' +
'<filter id="SVGID_' + this.id + '" y="-40%" height="180%">' +
'<feGaussianBlur in="' + mode + '" stdDeviation="' +
(this.blur ? this.blur / 3 : 0) +
'"></feGaussianBlur>' +

10
dist/all.min.js vendored

File diff suppressed because one or more lines are too long

BIN
dist/all.min.js.gz vendored

Binary file not shown.

View file

@ -60,7 +60,7 @@ fabric.Shadow = fabric.util.createClass(/** @lends fabric.Shadow.prototype */ {
}
return (
'<filter id="SVGID_' + this.id + '">' +
'<filter id="SVGID_' + this.id + '" y="-40%" height="180%">' +
'<feGaussianBlur in="' + mode + '" stdDeviation="' +
(this.blur ? this.blur / 3 : 0) +
'"></feGaussianBlur>' +