disable closing fullscreen media with down gesture at pinch
This commit is contained in:
parent
127f01a553
commit
77b6c64ee9
|
@ -104,6 +104,7 @@ class MyZoomableGifTextureView(context: Context, attrs: AttributeSet) : GifTextu
|
||||||
mLastTouchX = event.x
|
mLastTouchX = event.x
|
||||||
mLastTouchY = event.y
|
mLastTouchY = event.y
|
||||||
mCurrZoomMode = ZOOM_MODE_ZOOM
|
mCurrZoomMode = ZOOM_MODE_ZOOM
|
||||||
|
mIgnoreCloseDown = true
|
||||||
}
|
}
|
||||||
MotionEvent.ACTION_MOVE -> {
|
MotionEvent.ACTION_MOVE -> {
|
||||||
if (mCurrZoomMode == ZOOM_MODE_ZOOM || mCurrZoomMode == ZOOM_MODE_DRAG && mSaveScale > MIN_VIDEO_ZOOM_SCALE) {
|
if (mCurrZoomMode == ZOOM_MODE_ZOOM || mCurrZoomMode == ZOOM_MODE_DRAG && mSaveScale > MIN_VIDEO_ZOOM_SCALE) {
|
||||||
|
|
Loading…
Reference in New Issue