summaryrefslogtreecommitdiff
path: root/org.fox.ttcomics
diff options
context:
space:
mode:
Diffstat (limited to 'org.fox.ttcomics')
-rwxr-xr-xorg.fox.ttcomics/src/main/java/com/github/chrisbanes/photoview/PhotoViewAttacher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.fox.ttcomics/src/main/java/com/github/chrisbanes/photoview/PhotoViewAttacher.java b/org.fox.ttcomics/src/main/java/com/github/chrisbanes/photoview/PhotoViewAttacher.java
index faf3491..a29b4ba 100755
--- a/org.fox.ttcomics/src/main/java/com/github/chrisbanes/photoview/PhotoViewAttacher.java
+++ b/org.fox.ttcomics/src/main/java/com/github/chrisbanes/photoview/PhotoViewAttacher.java
@@ -609,7 +609,7 @@ public class PhotoViewAttacher implements View.OnTouchListener,
(viewHeight - drawableHeight) / 2F);
} else if (mScaleType == ScaleType.CENTER_CROP) {
- float scale = Math.max(widthScale, heightScale);
+ float scale = widthScale; //Math.max(widthScale, heightScale);
mBaseMatrix.postScale(scale, scale);
/*mBaseMatrix.postTranslate((viewWidth - drawableWidth * scale) / 2F,