diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt index 75c51c713..352f2eff8 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt @@ -204,11 +204,12 @@ object ChapterProvider { book: Book, chapter: BookChapter, src: String, - absStartX: Int, + x: Int, y: Float, textPages: ArrayList, imageStyle: String?, ): Float { + val absStartX = x - paddingLeft var durY = y ImageProvider.getImage(book, chapter.index, src, ReadBook.bookSource)?.let { if (durY > visibleHeight) {