mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-02-16 11:31:46 +01:00
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) {
|
||||
if (draggedItem != null) {
|
||||
if (draggedItem == null) {
|
||||
pager.setSwipeMovement(diffX)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user