Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Commit

Permalink
v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengyuan Chen committed Mar 21, 2015
1 parent 22411f9 commit f07d01b
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.9.1 (Mar 20, 2015)

- Fix the touch zoom issue (#206)
- Fix the reset issue (#246)


## 0.9.0 (Mar 15, 2015)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cropper",
"description": "A simple jQuery image cropping plugin.",
"version": "0.9.0",
"version": "0.9.1",
"main": [
"dist/cropper.js",
"dist/cropper.css"
Expand Down
4 changes: 2 additions & 2 deletions dist/cropper.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v0.9.0
* Cropper v0.9.1
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2015 Fengyuan Chen and contributors
* Released under the MIT license
*
* Date: 2015-03-15T06:29:30.388Z
* Date: 2015-03-21T04:58:27.265Z
*/
.cropper-container {
position: relative;
Expand Down
10 changes: 6 additions & 4 deletions dist/cropper.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper v0.9.0
* Cropper v0.9.1
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2015 Fengyuan Chen and contributors
* Released under the MIT license
*
* Date: 2015-03-15T06:29:30.388Z
* Date: 2015-03-21T04:58:27.265Z
*/

(function (factory) {
Expand Down Expand Up @@ -405,6 +405,7 @@
this.canvas = canvas;
this.limitCanvas();

this.initialImage = $.extend({}, image);
this.initialCanvas = $.extend({}, this.canvas);
this.renderCanvas();
},
Expand Down Expand Up @@ -958,6 +959,7 @@
return;
}

this.image = $.extend({}, this.initialImage);
this.canvas = $.extend({}, this.initialCanvas);
this.renderCanvas();

Expand Down Expand Up @@ -1682,8 +1684,8 @@
abs(this.endY - this.endY2)
));

this.endX2 = this.startX2;
this.endY2 = this.startY2;
this.startX2 = this.endX2;
this.startY2 = this.endY2;
renderable = false;
break;

Expand Down
4 changes: 2 additions & 2 deletions dist/cropper.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/cropper.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cropper",
"description": "A simple jQuery image cropping plugin.",
"version": "0.9.0",
"version": "0.9.1",
"main": "dist/cropper.js",
"keywords": [
"image",
Expand Down

0 comments on commit f07d01b

Please sign in to comment.