From 77b6c64ee932acd5464966e5610ff69b778ca511 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 17 Jan 2019 16:33:51 +0100 Subject: [PATCH] disable closing fullscreen media with down gesture at pinch --- .../gallery/pro/views/MyZoomableGifTextureView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/views/MyZoomableGifTextureView.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/views/MyZoomableGifTextureView.kt index be6e23a35..eaeed9499 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/views/MyZoomableGifTextureView.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/views/MyZoomableGifTextureView.kt @@ -104,6 +104,7 @@ class MyZoomableGifTextureView(context: Context, attrs: AttributeSet) : GifTextu mLastTouchX = event.x mLastTouchY = event.y mCurrZoomMode = ZOOM_MODE_ZOOM + mIgnoreCloseDown = true } MotionEvent.ACTION_MOVE -> { if (mCurrZoomMode == ZOOM_MODE_ZOOM || mCurrZoomMode == ZOOM_MODE_DRAG && mSaveScale > MIN_VIDEO_ZOOM_SCALE) {