mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
disable fullscreen media one-finger zoom to make double-click easier
This commit is contained in:
parent
38ca5b84d7
commit
d8e77da395
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
view.subsampling_view.apply {
|
||||
maxScale = 10f
|
||||
beVisible()
|
||||
isQuickScaleEnabled = false
|
||||
setImage(ImageSource.uri(medium.path))
|
||||
orientation = if (orient == -1) SubsamplingScaleImageView.ORIENTATION_USE_EXIF else degreesForRotation(orient)
|
||||
setOnImageEventListener(object : SubsamplingScaleImageView.OnImageEventListener {
|
||||
|
|
Loading…
Reference in a new issue