feat: 优化代码

pull/105/head
kunfei 5 years ago
parent c797e280d7
commit c0787a8eca
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt

@ -487,8 +487,8 @@ class SimulationPageDelegate(pageView: PageView) : HorizontalPageDelegate(pageVi
} else {
pageView.height
}
mIsRT_LB = (mCornerX == 0 && mCornerY == pageView.height
|| mCornerX == pageView.width && mCornerY == 0)
mIsRT_LB = (mCornerX == 0 && mCornerY == pageView.height)
|| (mCornerX == pageView.width && mCornerY == 0)
}
private fun calcPoints() {

Loading…
Cancel
Save