Skip to content

Commit 29ad64a

Browse files
committed
v1.3.2
1 parent d9cf380 commit 29ad64a

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

dist/vue-croppa.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* vue-croppa v1.3.1
2+
* vue-croppa v1.3.2
33
* https://github.com/zhanziyang/vue-croppa
44
*
55
* Copyright (c) 2018 zhanziyang
@@ -1319,11 +1319,13 @@ var component = { render: function render() {
13191319
this.imgData.height = imgHeight / scaleRatio;
13201320
this.imgData.width = this.outputWidth;
13211321
this.imgData.startY = -(this.imgData.height - this.outputHeight) / 2;
1322+
this.imgData.startX = 0;
13221323
} else {
13231324
scaleRatio = imgHeight / this.outputHeight;
13241325
this.imgData.width = imgWidth / scaleRatio;
13251326
this.imgData.height = this.outputHeight;
13261327
this.imgData.startX = -(this.imgData.width - this.outputWidth) / 2;
1328+
this.imgData.startY = 0;
13271329
}
13281330
},
13291331
_naturalSize: function _naturalSize() {

0 commit comments

Comments
 (0)