Merge "Fix mSubtractDisplacement when recatching" into ub-launcher3-qt-future-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ab732f0baa
@@ -330,8 +330,7 @@ public class SwipeDetector {
|
||||
private void initializeDragging() {
|
||||
if (mState == ScrollState.SETTLING && mIgnoreSlopWhenSettling) {
|
||||
mSubtractDisplacement = 0;
|
||||
}
|
||||
if (mDisplacement > 0) {
|
||||
} else if (mDisplacement > 0) {
|
||||
mSubtractDisplacement = mTouchSlop;
|
||||
} else {
|
||||
mSubtractDisplacement = -mTouchSlop;
|
||||
|
||||
Reference in New Issue
Block a user