pull/52/head
kunfei 5 years ago
parent 9f76fcd9c1
commit b5dcd64b97
  1. 2
      app/src/main/java/io/legado/app/ui/widget/page/PageView.kt

@ -46,8 +46,8 @@ class PageView(context: Context, attrs: AttributeSet) :
override fun onSizeChanged(w: Int, h: Int, oldw: Int, oldh: Int) {
super.onSizeChanged(w, h, oldw, oldh)
postEvent(Bus.UP_CONFIG, true)
pageDelegate?.setViewSize(w, h)
postEvent(Bus.UP_CONFIG, true)
}
override fun dispatchDraw(canvas: Canvas) {

Loading…
Cancel
Save