|
|
@ -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) { |
|
|
|