From 6ca3c30b9c02cd8ae6a8a11326b4d4f5ef353bba Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 2 Apr 2017 09:23:09 +0200 Subject: [PATCH] zoom in more on double click --- .../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 6a0f3b903..a8fb70827 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -189,7 +189,7 @@ class PhotoFragment : ViewPagerFragment() { if ((medium.isImage()) && isMenuVisible && view.subsampling_view.visibility == View.GONE) { view.subsampling_view.apply { beVisible() - setDoubleTapZoomScale(1.4f) + setDoubleTapZoomScale(2f) setImage(ImageSource.uri(medium.path)) orientation = SubsamplingScaleImageView.ORIENTATION_USE_EXIF setOnImageEventListener(object : SubsamplingScaleImageView.OnImageEventListener {