addressed issue presented in pull request #157

This commit is contained in:
Eric Rowell
2013-11-27 09:49:11 -08:00
parent bc8085bf04
commit 0c38e3cf39

View File

@@ -122,8 +122,8 @@
// Determine the region we are cropping
crop.x = crop.x || 0;
crop.y = crop.y || 0;
crop.width = crop.width || image.width - crop.x;
crop.height = crop.height || image.height - crop.y;
crop.width = crop.width || width - crop.x;
crop.height = crop.height || height - crop.y;
// Make a filterCanvas the same size as the cropped image
if (this.filterCanvas &&