Skip to content

ViewDragHelper: allow only one edge to be touched by one finger #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2014

Conversation

PeterCxy
Copy link
Contributor

this fixes the bug when drag a corner of the view, without this you're going to see the view being draged to a different direction from which is set by class SwipeBackLayout

原来,当你从角落开始滑动(特别是edge设为底边,从左下角开始)的时候,activity会可以被拖到与设定的方向垂直的另一个方向。。这个patch将修复此bug

this fixes the bug when drag a corner of the view, without this you're going to see the view being draged to a different direction from which is set by class SwipeBackLayout
@PeterCxy
Copy link
Contributor Author

你试试看,edge设为bottom,然后从左下角向右拉。。。

ikew0ng pushed a commit that referenced this pull request Feb 9, 2014
ViewDragHelper: allow only one edge to be touched by one finger
@ikew0ng ikew0ng merged commit bd50aaa into ikew0ng:master Feb 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants