Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 331a332,336
- > * Whether the user has initiated crop on this instance
- > */
- > this.isCropped = false;
- > /**
- > * @var boolean
- 1135c1140,1142
- <
- ---
- >
- > this.isCropped = true;
- >
- 1246,1252c1253,1261
- < this.options.onEndCrop(
- < this.areaCoords,
- < {
- < width: this.calcW(),
- < height: this.calcH()
- < }
- < );
- ---
- > if(this.isCropped) {
- > this.options.onEndCrop(
- > this.areaCoords,
- > {
- > width: this.calcW(),
- > height: this.calcH()
- > }
- > );
- > }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement