File tree 2 files changed +5
-5
lines changed
library/src/main/java/com/daimajia/swipe
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 18
18
# org.gradle.parallel=true
19
19
20
20
21
- VERSION_NAME =1.1.0
22
- VERSION_CODE =11
21
+ VERSION_NAME =1.1.1
22
+ VERSION_CODE =12
23
23
GROUP =com.daimajia.swipelayout
24
24
25
25
ANDROID_BUILD_MIN_SDK_VERSION =8
Original file line number Diff line number Diff line change @@ -768,9 +768,6 @@ public boolean onTouchEvent(MotionEvent event) {
768
768
return true ;
769
769
}
770
770
771
- if (touching != null )
772
- touching .setPressed (false );
773
-
774
771
float distanceX = event .getRawX () - sX ;
775
772
float distanceY = event .getRawY () - sY ;
776
773
float angle = Math .abs (distanceY / distanceX );
@@ -817,6 +814,9 @@ public boolean onTouchEvent(MotionEvent event) {
817
814
parent .requestDisallowInterceptTouchEvent (false );
818
815
return false ;
819
816
}else {
817
+ if (touching != null ){
818
+ touching .setPressed (false );
819
+ }
820
820
parent .requestDisallowInterceptTouchEvent (true );
821
821
mDragHelper .processTouchEvent (event );
822
822
}
You can’t perform that action at this time.
0 commit comments