Skip to content

Commit

Permalink
Another index fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jfeinstein10 committed Feb 5, 2013
1 parent 29547a0 commit 3f09d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/com/slidingmenu/lib/CustomViewAbove.java
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ public boolean onInterceptTouchEvent(MotionEvent ev) {
mActivePointerId = MotionEventCompat.getPointerId(ev, index);
if (mActivePointerId == INVALID_POINTER)
break;
mLastMotionX = mInitialMotionX = MotionEventCompat.getX(ev, mActivePointerId);
mLastMotionY = MotionEventCompat.getY(ev, mActivePointerId);
mLastMotionX = mInitialMotionX = MotionEventCompat.getX(ev, index);
mLastMotionY = MotionEventCompat.getY(ev, index);
if (thisTouchAllowed(ev)) {
mIsBeingDragged = false;
mIsUnableToDrag = false;
Expand Down

0 comments on commit 3f09d41

Please sign in to comment.