feat: 优化代码

pull/106/head
kunfei 5 years ago
parent 7abe222dad
commit 2b1de39c1c
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/page/delegate/PageDelegate.kt

@ -20,7 +20,7 @@ import kotlin.math.abs
abstract class PageDelegate(protected val pageView: PageView) :
GestureDetector.SimpleOnGestureListener() {
val centerRectF = RectF(
private val centerRectF = RectF(
pageView.width * 0.33f, pageView.height * 0.33f,
pageView.width * 0.66f, pageView.height * 0.66f
)

Loading…
Cancel
Save