diff --git a/ImageViewTouch/src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java b/ImageViewTouch/src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java index 1eb3e93..6be5781 100644 --- a/ImageViewTouch/src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java +++ b/ImageViewTouch/src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java @@ -458,12 +458,12 @@ protected void _setImageDrawable( final Drawable drawable, final Matrix initial_ if ( mScaleType == DisplayType.FIT_TO_SCREEN || mScaleType == DisplayType.FIT_IF_BIGGER ) { - if ( mMinZoom >= 1 ) { + if ( mMinZoom > 1 ) { mMinZoomDefined = false; mMinZoom = ZOOM_INVALID; } - if ( mMaxZoom <= 1 ) { + if ( mMaxZoom < 1 ) { mMaxZoomDefined = true; mMaxZoom = ZOOM_INVALID; }