|
|
@ -265,11 +265,10 @@ abstract class PageDelegate(protected val pageView: PageView) { |
|
|
|
distanceX: Float, |
|
|
|
distanceX: Float, |
|
|
|
distanceY: Float |
|
|
|
distanceY: Float |
|
|
|
): Boolean { |
|
|
|
): Boolean { |
|
|
|
|
|
|
|
curPage?.contentTextView()?.setTextIsSelectable(false) |
|
|
|
if (pageView.isScrollDelegate()) { |
|
|
|
if (pageView.isScrollDelegate()) { |
|
|
|
curPage?.dispatchTouchEvent(e2) |
|
|
|
curPage?.dispatchTouchEvent(e2) |
|
|
|
return true |
|
|
|
return true |
|
|
|
} else { |
|
|
|
|
|
|
|
curPage?.contentTextView()?.setTextIsSelectable(false) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (!isMoved && abs(distanceX) > abs(distanceY)) { |
|
|
|
if (!isMoved && abs(distanceX) > abs(distanceY)) { |
|
|
|
if (distanceX < 0) { |
|
|
|
if (distanceX < 0) { |
|
|
|