disable fullscreen media one-finger zoom to make double-click easier

This commit is contained in:
tibbi 2018-01-07 18:39:09 +01:00
parent 38ca5b84d7
commit d8e77da395
1 changed files with 1 additions and 0 deletions

View File

@ -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 {