mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
disable fullscreen media one-finger zoom to make double-click easier
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user