pull/811/head
gedoor 4 years ago
parent ebb760aeb8
commit ae0aaa0ffc
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt

@ -365,7 +365,7 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at
selectEnd[1] = lineIndex
selectEnd[2] = charIndex
val textLine = relativePage(relativePage).getLine(lineIndex)
val textChar = textLine.getTextChar(lineIndex)
val textChar = textLine.getTextChar(charIndex)
upSelectedEnd(textChar.end, textLine.lineBottom + relativeOffset(relativePage))
upSelectChars()
}

Loading…
Cancel
Save