pull/1114/head^2
gedoor 3 years ago
parent 3278f829ae
commit b97be069bb
  1. 1
      app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt

@ -419,6 +419,7 @@ object ChapterProvider {
* 超出边界处理
*/
private fun exceed(textLine: TextLine, words: Array<String>) {
if (textLine.textChars.isEmpty()) return
val endX = textLine.textChars.last().end
if (endX > visibleRight) {
val cc = (endX - visibleRight) / words.size

Loading…
Cancel
Save