Skip to content

Commit f6cd43e

Browse files
committed
fix no response bug
1 parent 715756c commit f6cd43e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/src/main/java/com/daimajia/swipe/SwipeLayout.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,9 +651,8 @@ public boolean onInterceptTouchEvent(MotionEvent ev) {
651651
mTouchConsumedByChild = childNeedHandleTouchEvent(getSurfaceView(), ev) != null;
652652
}else if(status == Status.Open){
653653
mTouchConsumedByChild = childNeedHandleTouchEvent(getBottomView(), ev) != null;
654-
}else{
655-
break;
656654
}
655+
break;
657656
case MotionEvent.ACTION_UP:
658657
case MotionEvent.ACTION_CANCEL:
659658
mTouchConsumedByChild = false;

0 commit comments

Comments
 (0)