Skip to content

Commit

Permalink
Merge pull request jfeinstein10#335 from liruqi/patch-2
Browse files Browse the repository at this point in the history
Enable menu toggle when sliding is disabled
  • Loading branch information
jfeinstein10 committed Apr 12, 2013
2 parents 46d5d7c + fb50428 commit ba63620
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/src/com/slidingmenu/lib/CustomViewAbove.java
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,7 @@ private void determineDrag(MotionEvent ev) {
public void scrollTo(int x, int y) {
super.scrollTo(x, y);
mScrollX = x;
if (mEnabled)
mViewBehind.scrollBehindTo(mContent, x, y);
mViewBehind.scrollBehindTo(mContent, x, y);
((SlidingMenu)getParent()).manageLayers(getPercentOpen());
}

Expand Down

0 comments on commit ba63620

Please sign in to comment.