We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29547a0 commit 3f09d41Copy full SHA for 3f09d41
library/src/com/slidingmenu/lib/CustomViewAbove.java
@@ -637,8 +637,8 @@ public boolean onInterceptTouchEvent(MotionEvent ev) {
637
mActivePointerId = MotionEventCompat.getPointerId(ev, index);
638
if (mActivePointerId == INVALID_POINTER)
639
break;
640
- mLastMotionX = mInitialMotionX = MotionEventCompat.getX(ev, mActivePointerId);
641
- mLastMotionY = MotionEventCompat.getY(ev, mActivePointerId);
+ mLastMotionX = mInitialMotionX = MotionEventCompat.getX(ev, index);
+ mLastMotionY = MotionEventCompat.getY(ev, index);
642
if (thisTouchAllowed(ev)) {
643
mIsBeingDragged = false;
644
mIsUnableToDrag = false;
0 commit comments