Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gzu-liyujiang/AndroidPicker
Browse files Browse the repository at this point in the history
  • Loading branch information
liyujiang-gzu committed Mar 7, 2023
2 parents 097b5fc + 3033a28 commit ce11157
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ private void initCropWindow() {
rect.right = Math.min(rightLimit, rect.right);
rect.bottom = Math.min(bottomLimit, rect.bottom);

} else if (mFixAspectRatio && rightLimit > leftLimit && bottomLimit > topLimit) {
} else if (mFixAspectRatio) {

// If the image aspect ratio is wider than the crop aspect ratio,
// then the image height is the determining initial length. Else, vice-versa.
Expand Down

0 comments on commit ce11157

Please sign in to comment.