mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
allow zooming in a lot more at fullscreen photos
This commit is contained in:
@@ -188,6 +188,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||||||
private fun addZoomableView() {
|
private fun addZoomableView() {
|
||||||
if ((medium.isImage()) && isMenuVisible && view.subsampling_view.visibility == View.GONE) {
|
if ((medium.isImage()) && isMenuVisible && view.subsampling_view.visibility == View.GONE) {
|
||||||
view.subsampling_view.apply {
|
view.subsampling_view.apply {
|
||||||
|
maxScale = 10f
|
||||||
beVisible()
|
beVisible()
|
||||||
setDoubleTapZoomScale(2f)
|
setDoubleTapZoomScale(2f)
|
||||||
setImage(ImageSource.uri(medium.path))
|
setImage(ImageSource.uri(medium.path))
|
||||||
|
Reference in New Issue
Block a user