From 474ca2713fcdcb55810928dfd5018a6627fafcce Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 21 Sep 2019 23:56:00 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt b/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt index 00dc408e0..c2692c7d9 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt +++ b/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt @@ -265,11 +265,10 @@ abstract class PageDelegate(protected val pageView: PageView) { distanceX: Float, distanceY: Float ): Boolean { + curPage?.contentTextView()?.setTextIsSelectable(false) if (pageView.isScrollDelegate()) { curPage?.dispatchTouchEvent(e2) return true - } else { - curPage?.contentTextView()?.setTextIsSelectable(false) } if (!isMoved && abs(distanceX) > abs(distanceY)) { if (distanceX < 0) {