Fix unexpected touch scale behavior in PageViewer

(cherry picked from commit 0c78673870)
This commit is contained in:
FooIbar committed 2023-10-27 19:46:42 +08:00
1 parent ab8671cc3b
commit dab5878f74
1 file changed
+1 -1
@@ -601,7 +601,7 @@ open class SubsamplingScaleImageView @JvmOverloads constructor(
private fun onTouchEventInternal(event: MotionEvent): Boolean {
val touchCount = event.pointerCount
when (event.action) {
when (event.actionMasked) {
MotionEvent.ACTION_DOWN, MotionEvent.ACTION_POINTER_DOWN -> {
anim = null
requestDisallowInterceptTouchEvent(true)