From e86c07895c1567ff2c1081a57d41295c7e1b97d8 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 20 Sep 2018 21:13:31 +0200 Subject: [PATCH] set fullscreen max tilesize to 4096 --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.kt | 1 + 1 file changed, 1 insertion(+) 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 4263b1110..e8e57efb3 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -360,6 +360,7 @@ class PhotoFragment : ViewPagerFragment() { isSubsamplingVisible = true view.subsampling_view.apply { + setMaxTileSize(4096) setMinimumTileDpi(getMinTileDpi()) background = ColorDrawable(Color.TRANSPARENT) setBitmapDecoderFactory { PicassoDecoder(path, Picasso.get(), rotation) }