Skip to content

Improve algorithm of detection if draggable is within droppable #9

Description

@alex35mil
  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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions