remove the manual setting of max tilesize to 10000

This commit is contained in:
tibbi 2017-09-10 21:50:58 +02:00
parent 316566b09c
commit 832d549fed
1 changed files with 0 additions and 1 deletions

View File

@ -203,7 +203,6 @@ class PhotoFragment : ViewPagerFragment() {
if ((medium.isImage()) && isFragmentVisible && view.subsampling_view.visibility == View.GONE) { if ((medium.isImage()) && isFragmentVisible && view.subsampling_view.visibility == View.GONE) {
view.subsampling_view.apply { view.subsampling_view.apply {
setBitmapDecoderClass(GlideDecoder::class.java) setBitmapDecoderClass(GlideDecoder::class.java)
setMaxTileSize(10000)
maxScale = 10f maxScale = 10f
beVisible() beVisible()
setImage(ImageSource.uri(medium.path)) setImage(ImageSource.uri(medium.path))