remove the manual setting of max tilesize to 10000
This commit is contained in:
parent
316566b09c
commit
832d549fed
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue