mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
80c56322f6
commit
128382ee78
@ -121,6 +121,9 @@ class ReadView(context: Context, attrs: AttributeSet) :
|
||||
setRect9x()
|
||||
prevPage.x = -w.toFloat()
|
||||
pageDelegate?.setViewSize(w, h)
|
||||
if (w > 0 && h > 0) {
|
||||
upBg()
|
||||
}
|
||||
}
|
||||
|
||||
override fun dispatchDraw(canvas: Canvas) {
|
||||
|
Loading…
Reference in New Issue
Block a user