summaryrefslogtreecommitdiff
path: root/src/it/sephiroth/android/library
diff options
context:
space:
mode:
Diffstat (limited to 'src/it/sephiroth/android/library')
-rw-r--r--src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java b/src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java
index 95d6333..d497839 100644
--- a/src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java
+++ b/src/it/sephiroth/android/library/imagezoom/ImageViewTouchBase.java
@@ -408,7 +408,7 @@ public class ImageViewTouchBase extends ImageView implements IDisposable {
protected void zoomTo( float scale, float centerX, float centerY ) {
// Log.i(LOG_TAG, "zoomTo");
- if ( scale > mMaxZoom ) scale = mMaxZoom;
+ //if ( scale > mMaxZoom ) scale = mMaxZoom;
float oldScale = getScale();
float deltaScale = scale / oldScale;
postScale( deltaScale, centerX, centerY );