diff --git a/ImagePicker/src/main/java/com/github/gzuliyujiang/imagepicker/CropOverlayView.java b/ImagePicker/src/main/java/com/github/gzuliyujiang/imagepicker/CropOverlayView.java index 25a4fd40..5e499fd0 100644 --- a/ImagePicker/src/main/java/com/github/gzuliyujiang/imagepicker/CropOverlayView.java +++ b/ImagePicker/src/main/java/com/github/gzuliyujiang/imagepicker/CropOverlayView.java @@ -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.