pull/737/head
Robot 4 years ago
commit bea723afed
  1. 9
      app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt

@ -338,8 +338,17 @@ class ReadView(context: Context, attrs: AttributeSet) :
} }
end -= 1 end -= 1
} }
try {
curPage.selectStartMoveIndex(firstRelativePage, lineStart, start) curPage.selectStartMoveIndex(firstRelativePage, lineStart, start)
curPage.selectEndMoveIndex(firstRelativePage, lineEnd, end) curPage.selectEndMoveIndex(firstRelativePage, lineEnd, end)
} catch (e: Exception) {
print(
"""
curPage.selectStartMoveIndex($firstRelativePage, $lineStart, $start)
curPage.selectEndMoveIndex($firstRelativePage, $lineEnd, $end)
""".trimIndent()
)
}
} }
} }

Loading…
Cancel
Save