pull/1679/head
kunfei 3 years ago
parent ccc8e7a119
commit 4bfabf3d72
  1. 3
      app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt

@ -204,11 +204,12 @@ object ChapterProvider {
book: Book, book: Book,
chapter: BookChapter, chapter: BookChapter,
src: String, src: String,
absStartX: Int, x: Int,
y: Float, y: Float,
textPages: ArrayList<TextPage>, textPages: ArrayList<TextPage>,
imageStyle: String?, imageStyle: String?,
): Float { ): Float {
val absStartX = x - paddingLeft
var durY = y var durY = y
ImageProvider.getImage(book, chapter.index, src, ReadBook.bookSource)?.let { ImageProvider.getImage(book, chapter.index, src, ReadBook.bookSource)?.let {
if (durY > visibleHeight) { if (durY > visibleHeight) {

Loading…
Cancel
Save