From e34eb8417c5817eea024763254fe50a3cb95ae88 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 28 Nov 2020 21:21:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt index ae5edd4f5..e1d6bcfd2 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt @@ -113,9 +113,6 @@ class PageView(context: Context, attrs: AttributeSet) : brRect.set(width * 0.66f, height * 0.66f, width - 10f, height - 10f) prevPage.x = -w.toFloat() pageDelegate?.setViewSize(w, h) - if (w != 0 && h != 0) { - ReadBook.loadContent(resetPageOffset = false) - } } override fun dispatchDraw(canvas: Canvas) {