File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
library/src/main/java/com/daimajia/swipe Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818# org.gradle.parallel=true
1919
2020
21- VERSION_NAME =1.1.0
22- VERSION_CODE =11
21+ VERSION_NAME =1.1.1
22+ VERSION_CODE =12
2323GROUP =com.daimajia.swipelayout
2424
2525ANDROID_BUILD_MIN_SDK_VERSION =8
Original file line number Diff line number Diff line change @@ -768,9 +768,6 @@ public boolean onTouchEvent(MotionEvent event) {
768768 return true ;
769769 }
770770
771- if (touching != null )
772- touching .setPressed (false );
773-
774771 float distanceX = event .getRawX () - sX ;
775772 float distanceY = event .getRawY () - sY ;
776773 float angle = Math .abs (distanceY / distanceX );
@@ -817,6 +814,9 @@ public boolean onTouchEvent(MotionEvent event) {
817814 parent .requestDisallowInterceptTouchEvent (false );
818815 return false ;
819816 }else {
817+ if (touching != null ){
818+ touching .setPressed (false );
819+ }
820820 parent .requestDisallowInterceptTouchEvent (true );
821821 mDragHelper .processTouchEvent (event );
822822 }
You can’t perform that action at this time.
0 commit comments