|
|
@ -93,7 +93,7 @@ abstract class HorizontalPageDelegate(pageView: PageView) : PageDelegate(pageVie |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (isMoved) { |
|
|
|
if (isMoved) { |
|
|
|
isCancel = if (mDirection == Direction.NEXT) touchX > lastX else touchX < lastX |
|
|
|
isCancel = if (mDirection == Direction.NEXT) sumX > lastX else sumX < lastX |
|
|
|
isRunning = true |
|
|
|
isRunning = true |
|
|
|
//设置触摸点 |
|
|
|
//设置触摸点 |
|
|
|
setTouchPoint(sumX, sumY) |
|
|
|
setTouchPoint(sumX, sumY) |
|
|
|