From fc9259d344300776cd63bae340b95fa7b712d0e8 Mon Sep 17 00:00:00 2001 From: 821938089 <821938089@qq.com> Date: Mon, 1 Aug 2022 09:41:10 +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/ReadView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt index d0f6fff23..60ef6b29b 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt @@ -296,6 +296,7 @@ class ReadView(context: Context, attrs: AttributeSet) : kotlin.runCatching { curPage.longPress(startX, startY) { relativePos, lineIndex, charIndex -> isTextSelected = true + pressOnTextSelected = true initialTextPos.upData(relativePos, lineIndex, charIndex) val startPos = TextPos(relativePos, lineIndex, charIndex) val endPos = TextPos(relativePos, lineIndex, charIndex)