Skip to content

Commit 61a1453

Browse files
author
Dung Viet Nguyen
committed
Fix Jitpack.io build; Try to stop parent intercepting touch event
1 parent 16cefa9 commit 61a1453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: CardStack/src/main/java/com/wenchao/cardstack/CardStack.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ public int getStackGravity() {
9393

9494
/**
9595
* 是否允许旋转
96-
* <p/>
9796
* 设置后调用{@link #reset(boolean)} 来重新初始化布局
9897
*
9998
* @param enableRotation
@@ -312,6 +311,7 @@ public boolean onTapUp() {
312311

313312
@Override
314313
public boolean onTouch(View arg0, MotionEvent event) {
314+
CardStack.this.requestDisallowInterceptTouchEvent(true);
315315
dd.onTouchEvent(event);
316316
return true;
317317
}

0 commit comments

Comments
 (0)