change the image max tile size depending on the image quality too
This commit is contained in:
parent
7e15cf8d54
commit
81062369d3
|
@ -382,7 +382,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
isSubsamplingVisible = true
|
||||
|
||||
view.subsampling_view.apply {
|
||||
setMaxTileSize(4096)
|
||||
setMaxTileSize(if (context!!.config.showHighestQuality) Integer.MAX_VALUE else 4096)
|
||||
setMinimumTileDpi(if (context!!.config.showHighestQuality) -1 else getMinTileDpi())
|
||||
background = ColorDrawable(Color.TRANSPARENT)
|
||||
setBitmapDecoderFactory { PicassoDecoder(path, Picasso.get(), rotation) }
|
||||
|
|
Loading…
Reference in New Issue