pull/517/head
gedoor 4 years ago
parent 52fd293188
commit e34eb8417c
  1. 3
      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) brRect.set(width * 0.66f, height * 0.66f, width - 10f, height - 10f)
prevPage.x = -w.toFloat() prevPage.x = -w.toFloat()
pageDelegate?.setViewSize(w, h) pageDelegate?.setViewSize(w, h)
if (w != 0 && h != 0) {
ReadBook.loadContent(resetPageOffset = false)
}
} }
override fun dispatchDraw(canvas: Canvas) { override fun dispatchDraw(canvas: Canvas) {

Loading…
Cancel
Save