Skip to content

Commit 5265549

Browse files
author
jfeinstein10
committed
Little bug fix for TOUCHMODE_FULLSCREEN
1 parent 897b74b commit 5265549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/com/slidingmenu/lib/CustomViewAbove.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,8 +1225,8 @@ public boolean onInterceptTouchEvent(MotionEvent ev) {
12251225
mLastMotionY = ev.getY();
12261226
mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
12271227

1228-
if (mScrollState == SCROLL_STATE_SETTLING ||
1229-
(this.mTouchModeAbove != SlidingMenu.TOUCHMODE_FULLSCREEN && thisTouchAllowed(ev.getX()))) {
1228+
if (mScrollState == SCROLL_STATE_SETTLING || isMenuOpen() ||
1229+
(mTouchModeAbove != SlidingMenu.TOUCHMODE_FULLSCREEN && thisTouchAllowed(ev.getX()))) {
12301230
// Let the user 'catch' the pager as it animates.
12311231
mIsBeingDragged = true;
12321232
mIsUnableToDrag = false;

0 commit comments

Comments
 (0)