From 617e107d3c2e219b40d34d7cfba2f1506c15f172 Mon Sep 17 00:00:00 2001 From: gedoor Date: Fri, 13 Nov 2020 20:18:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 be09e4ca1..de6ef82fd 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 @@ -257,7 +257,7 @@ class PageView(context: Context, attrs: AttributeSet) : /** * 单击 */ - private fun onSingleTapUp(): Boolean { + private fun onSingleTapUp() { when { isTextSelected -> isTextSelected = false mcRect.contains(startX, startY) -> if (!isAbortAnim) { @@ -288,7 +288,6 @@ class PageView(context: Context, attrs: AttributeSet) : click(AppConfig.clickActionTopRight) } } - return true } private fun click(action: Int) {