From 187d904ac7ccbeb3334faea465b8456bbd3fef21 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 25 Feb 2020 17:36:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/page/ContentTextView.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt index 270acbff3..c31fedde6 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt @@ -277,6 +277,7 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at selectStart[1] = lineIndex selectStart[2] = charIndex upSelectedStart(textChar.start, textLine.lineBottom + relativeOffset) + upSelectChars() } return } @@ -300,6 +301,7 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at selectStart[1] = lineIndex selectStart[2] = charIndex upSelectedStart(textChar.start, textLine.lineBottom + relativeOffset) + upSelectChars() } return } @@ -321,6 +323,7 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at selectStart[1] = lineIndex selectStart[2] = charIndex upSelectedStart(textChar.start, textLine.lineBottom + relativeOffset) + upSelectChars() } return } @@ -348,6 +351,7 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at selectEnd[1] = lineIndex selectEnd[2] = charIndex upSelectedEnd(textChar.end, textLine.lineBottom + relativeOffset) + upSelectChars() } return } @@ -371,6 +375,7 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at selectEnd[1] = lineIndex selectEnd[2] = charIndex upSelectedEnd(textChar.end, textLine.lineBottom + relativeOffset) + upSelectChars() } return } @@ -392,6 +397,7 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at selectEnd[1] = lineIndex selectEnd[2] = charIndex upSelectedEnd(textChar.end, textLine.lineBottom + relativeOffset) + upSelectChars() } return }