mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-29 09:42:33 +01:00
allow zooming in a lot more at fullscreen photos
This commit is contained in:
parent
94258a57fa
commit
ebc6c2ef3d
@ -188,6 +188,7 @@ class PhotoFragment : ViewPagerFragment() {
|
||||
private fun addZoomableView() {
|
||||
if ((medium.isImage()) && isMenuVisible && view.subsampling_view.visibility == View.GONE) {
|
||||
view.subsampling_view.apply {
|
||||
maxScale = 10f
|
||||
beVisible()
|
||||
setDoubleTapZoomScale(2f)
|
||||
setImage(ImageSource.uri(medium.path))
|
||||
|
Loading…
Reference in New Issue
Block a user