Fix condition for adding swipe movement
This commit is contained in:
parent
59975c77f4
commit
6c8800f266
|
@ -973,7 +973,7 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
|
||||||
|
|
||||||
|
|
||||||
fun setSwipeMovement(diffX: Float) {
|
fun setSwipeMovement(diffX: Float) {
|
||||||
if (draggedItem != null) {
|
if (draggedItem == null) {
|
||||||
pager.setSwipeMovement(diffX)
|
pager.setSwipeMovement(diffX)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue