Renamed file to get image Data.
This commit is contained in:
@@ -77,7 +77,7 @@ function ImageEditor(canvasId, args) {
|
||||
*/
|
||||
this.crop = function (width, height) {
|
||||
_canvas.getImage().__cropped = false;
|
||||
_canvas.getImage().transformation.removeCropData();
|
||||
_canvas.getImageData().removeCropData();
|
||||
_canvas.getViewport().set(width, height);
|
||||
return this;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user