diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt index 93e69ee26..353b37f82 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt @@ -169,7 +169,6 @@ class PageView(context: Context, attrs: AttributeSet) : setStartPoint(event.x, event.y) } MotionEvent.ACTION_MOVE -> { - pressDown = true if (!isMove) { isMove = abs(startX - event.x) > slopSquare || abs(startY - event.y) > slopSquare @@ -187,6 +186,7 @@ class PageView(context: Context, attrs: AttributeSet) : MotionEvent.ACTION_CANCEL, MotionEvent.ACTION_UP -> { removeCallbacks(longPressRunnable) if (!pressDown) return true + pressDown = false if (!isMove) { if (!longPressed && !pressOnTextSelected) { onSingleTapUp()