Skip to content
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

Improve algorithm of detection if draggable is within droppable #9

Open
alex35mil opened this issue Jul 20, 2018 · 0 comments
Open

Comments

@alex35mil
Copy link
Member

  1. Use pointer when one dimension is significantly smaller than another (the way it's implemented now)
  2. Use a center of rectangle when both dimensions are approximately equal

1: Ok

screen recording 2018-07-20 at 09 57 am

2: Should be improved

screen recording 2018-07-20 at 10 01 am

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

No branches or pull requests

1 participant