Skip to content

Commit

Permalink
fix-touch-judge
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyufei committed Jan 21, 2019
1 parent 829006b commit b1b06c8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ public boolean onTouchEvent(MotionEvent event) {

if (!isParentDispatchTouchEvent ||
getChildAt(0) == null ||
!isTouchUnderChildView(event)) {
(!isTouchUnderChildView(event) &&
event.getAction() != MotionEvent.ACTION_MOVE)) {
return super.onTouchEvent(event);
}
if (isAnimating()) {
Expand Down

0 comments on commit b1b06c8

Please sign in to comment.