From ec0ea267e9097485fa2bbbe3914551a9a339e7ce Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 22 Oct 2019 19:34:06 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/widget/page/ContentTextView.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt b/app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt index df68b4cc5..383425a7a 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt +++ b/app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt @@ -121,7 +121,6 @@ class ContentTextView : AppCompatTextView { MotionEvent.ACTION_MOVE -> { val y = (event.y + 0.5f).toInt() var dy = mLastTouchY - y - if (mScrollState != scrollStateDragging) { var startScroll = false @@ -137,7 +136,6 @@ class ContentTextView : AppCompatTextView { setScrollState(scrollStateDragging) } } - if (mScrollState == scrollStateDragging) { mLastTouchY = y }