From 70a2d82aa43ba029866cb3898a646ffafd2d1d1d Mon Sep 17 00:00:00 2001 From: tibbi <tibor@kaputa.sk> Date: Tue, 7 Mar 2017 21:01:23 +0100 Subject: [PATCH] do not zoom in that much at double tapping an image --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt index 3318fa392..550c369d5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -173,7 +173,7 @@ class PhotoFragment : ViewPagerFragment() { if (!medium.isPng()) { subsamplingView.apply { beVisible() - setDoubleTapZoomScale(1.8f) + setDoubleTapZoomScale(1.4f) setImage(ImageSource.uri(medium.path)) orientation = SubsamplingScaleImageView.ORIENTATION_USE_EXIF maxScale = 5f