pull/34/head
kunfei 5 years ago
parent 1a619e6b6e
commit aad8c3cf54
  1. 2
      app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt

@ -94,7 +94,7 @@ abstract class PageDelegate(protected val pageView: PageView) {
startY,
dx,
dy,
if (dx != 0) (dx * 0.3).toInt() else (dy * 0.3).toInt()
if (dx != 0) (abs(dx) * 0.3).toInt() else (abs(dy) * 0.3).toInt()
)
isRunning = true
isStarted = true

Loading…
Cancel
Save