feat: 优化代码

pull/117/head
kunfei 5 years ago
parent f800991eeb
commit 88aa56283e
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt

@ -197,7 +197,7 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at
if (selectLineStart != lineIndex || selectCharStart != charIndex) {
selectLineStart = lineIndex
selectCharStart = charIndex
upSelectedStart(textChar.start, textLine.lineBottom)
upSelectedStart(textChar.start, textLine.lineBottom + pageOffset)
upSelectChars(textPage)
}
break

Loading…
Cancel
Save