From f20d9d2f46dba9351a20fff50d96efa6391b1263 Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Fri, 12 Dec 2025 15:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20#5601?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legado/app/ui/book/read/page/provider/TextChapterLayout.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/provider/TextChapterLayout.kt b/app/src/main/java/io/legado/app/ui/book/read/page/provider/TextChapterLayout.kt index 9069878b0..31b6c35a5 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/provider/TextChapterLayout.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/provider/TextChapterLayout.kt @@ -341,7 +341,7 @@ class TextChapterLayout( Book.imgStyleFull -> { width = visibleWidth height = size.height * visibleWidth / size.width - if (pageAnim != PageAnim.scrollPageAnim && height > visibleHeight) { + if (pageAnim != PageAnim.scrollPageAnim && height > visibleHeight - durY) { width = width * visibleHeight / height height = visibleHeight prepareNextPageIfNeed(durY + height)