fix no response bug

This commit is contained in:
daimajia 2014-09-11 17:22:46 +08:00
parent 715756c607
commit f6cd43ed82
1 changed files with 1 additions and 2 deletions

View File

@ -651,9 +651,8 @@ public class SwipeLayout extends FrameLayout {
mTouchConsumedByChild = childNeedHandleTouchEvent(getSurfaceView(), ev) != null;
}else if(status == Status.Open){
mTouchConsumedByChild = childNeedHandleTouchEvent(getBottomView(), ev) != null;
}else{
break;
}
break;
case MotionEvent.ACTION_UP:
case MotionEvent.ACTION_CANCEL:
mTouchConsumedByChild = false;