Fix returning after partial swipe
This commit is contained in:
parent
95cf8c0384
commit
d4f55b8e8b
|
@ -1176,6 +1176,7 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
|
||||||
} else {
|
} else {
|
||||||
currentPage + 1
|
currentPage + 1
|
||||||
}
|
}
|
||||||
|
pageChangeSwipedPercentage = sign(pageChangeSwipedPercentage) * (1 - abs(pageChangeSwipedPercentage))
|
||||||
handlePageChange(true)
|
handlePageChange(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue