mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
Use subsamplingScaleImageView for PNGs
This commit is contained in:
parent
2759a476aa
commit
6ff17351cc
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
}
|
||||
|
||||
private fun addZoomableView() {
|
||||
if (medium.isJpg() && isMenuVisible && view.subsampling_view.visibility == View.GONE) {
|
||||
if ((medium.isJpg() || medium.isPng()) && isMenuVisible && view.subsampling_view.visibility == View.GONE) {
|
||||
view.subsampling_view.apply {
|
||||
beVisible()
|
||||
setDoubleTapZoomScale(1.4f)
|
||||
|
|
Loading…
Reference in a new issue