|
|
@ -99,12 +99,12 @@ abstract class HorizontalPageDelegate(pageView: PageView) : PageDelegate(pageVie |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun abortAnim() { |
|
|
|
override fun abortAnim() { |
|
|
|
|
|
|
|
isStarted = false |
|
|
|
|
|
|
|
isMoved = false |
|
|
|
|
|
|
|
isRunning = false |
|
|
|
if (!scroller.isFinished) { |
|
|
|
if (!scroller.isFinished) { |
|
|
|
pageView.isAbortAnim = true |
|
|
|
pageView.isAbortAnim = true |
|
|
|
scroller.abortAnimation() |
|
|
|
scroller.abortAnimation() |
|
|
|
isStarted = false |
|
|
|
|
|
|
|
isMoved = false |
|
|
|
|
|
|
|
isRunning = false |
|
|
|
|
|
|
|
if (!isCancel) { |
|
|
|
if (!isCancel) { |
|
|
|
pageView.fillPage(mDirection) |
|
|
|
pageView.fillPage(mDirection) |
|
|
|
pageView.invalidate() |
|
|
|
pageView.invalidate() |
|
|
|