Skip to content
This repository has been archived by the owner on Jun 18, 2018. It is now read-only.

Adding anchorOffset as a configuration for the drag preview #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cremedios
Copy link

When the dragPreview differs in width or height from the dragSource, the calculation for the offset will give invalid values.
image

In the above image we can see the original in the red box, after starting the drag operation (green box) we resize the boxes to make it easier to the user. Without this PR the dragPreview would show to the far left of the mouse cursor.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant