修复点击屏幕左边到下一页, 点击屏幕右边到上一页的bug

pull/103/head
hingbong 5 years ago
parent 3bf5f95c59
commit e55ddb6ce3
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/page/delegate/PageDelegate.kt

@ -279,13 +279,13 @@ abstract class PageDelegate(protected val pageView: PageView) {
if (!hasNext()) {
return true
}
setDirection(Direction.PREV)
setDirection(Direction.NEXT)
setBitmap()
} else {
if (!hasPrev()) {
return true
}
setDirection(Direction.NEXT)
setDirection(Direction.PREV)
setBitmap()
}
setTouchPoint(x, y)

Loading…
Cancel
Save