This commit is contained in:
821938089
2022-08-01 09:41:10 +08:00
parent b2742a33ae
commit fc9259d344

View File

@@ -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)