disable closing fullscreen media with down gesture at pinch

This commit is contained in:
tibbi 2019-01-17 16:33:51 +01:00
parent 127f01a553
commit 77b6c64ee9

View file

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