Fix unexpected touch scale behavior in PageViewer
This commit is contained in:
1 parent
d618948429
commit
0c78673870
1 file changed
+1
-1
+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)
|
||||
|
||||
Reference in new issue
Block a user