diff options
author | Andrew Dolgov <[email protected]> | 2012-11-30 13:23:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-11-30 13:23:06 +0300 |
commit | a968341b118f5273ef295cec1258c70c89dc58a1 (patch) | |
tree | bcfc82a914dad2bb66f830daa88db1fa43ad4917 /src/it/sephiroth/android | |
parent | 1e637e4011224be09a859baafe63ff1ad0ca76a3 (diff) |
add a small locking swipe threshold
Diffstat (limited to 'src/it/sephiroth/android')
-rw-r--r-- | src/it/sephiroth/android/library/imagezoom/ImageViewTouch.java | 2 |
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); } } |