diff --git a/src/core/renderers/webgl/managers/FilterManager.js b/src/core/renderers/webgl/managers/FilterManager.js index e058ebf..8c8a105 100644 --- a/src/core/renderers/webgl/managers/FilterManager.js +++ b/src/core/renderers/webgl/managers/FilterManager.js @@ -84,9 +84,6 @@ sourceFrame.width = ((targetBounds.width * resolution) | 0) / resolution; sourceFrame.height = ((targetBounds.height * resolution) | 0) / resolution; - // lets pplay the padding After we fit the element to the screen. - // this should stop the strange side effects that can occour when cropping to the edges - sourceFrame.pad(padding); if(filterData.stack[0].renderTarget.transform) {// @@ -99,6 +96,10 @@ sourceFrame.fit(filterData.stack[0].destinationFrame); } + // lets pplay the padding After we fit the element to the screen. + // this should stop the strange side effects that can occour when cropping to the edges + sourceFrame.pad(padding); + destinationFrame.width = sourceFrame.width; destinationFrame.height = sourceFrame.height;