Fix unexpected touch scale behavior in PageViewer

This commit is contained in:
FooIbar committed 2023-10-27 03:11:00 +08:00
1 parent d618948429
commit 0c78673870
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)