summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-11-30 13:23:06 +0300
committerAndrew Dolgov <[email protected]>2012-11-30 13:23:06 +0300
commita968341b118f5273ef295cec1258c70c89dc58a1 (patch)
treebcfc82a914dad2bb66f830daa88db1fa43ad4917 /src
parent1e637e4011224be09a859baafe63ff1ad0ca76a3 (diff)
add a small locking swipe threshold
Diffstat (limited to 'src')
-rw-r--r--src/it/sephiroth/android/library/imagezoom/ImageViewTouch.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/it/sephiroth/android/library/imagezoom/ImageViewTouch.java b/src/it/sephiroth/android/library/imagezoom/ImageViewTouch.java
index f3399fd..de8a7da 100644
--- a/src/it/sephiroth/android/library/imagezoom/ImageViewTouch.java
+++ b/src/it/sephiroth/android/library/imagezoom/ImageViewTouch.java
@@ -122,7 +122,7 @@ public class ImageViewTouch extends ImageViewTouchBase {
if (mScaleChangedListener != null) {
RectF bitmapRect = getBitmapRect();
- mScaleChangedListener.onScaleChanged(mCurrentScaleFactor, getWidth() >= (bitmapRect.right - bitmapRect.left));
+ mScaleChangedListener.onScaleChanged(mCurrentScaleFactor, getWidth() >= (bitmapRect.right - bitmapRect.left) - 3);
}
}