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

@ -270,8 +270,10 @@ abstract class PageDelegate(protected val pageView: PageView) {
distanceX: Float, distanceX: Float,
distanceY: Float distanceY: Float
): Boolean { ): Boolean {
curPage?.contentTextView()?.setTextIsSelectable(false) curPage?.contentTextView()?.let {
curPage?.contentTextView()?.movementMethod = scrollingMovementMethod it.setTextIsSelectable(false)
it.movementMethod = scrollingMovementMethod
}
if (pageView.isScrollDelegate()) { if (pageView.isScrollDelegate()) {
curPage?.dispatchTouchEvent(e2) curPage?.dispatchTouchEvent(e2)
return true return true

Loading…
Cancel
Save