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

minLeft is relative to original position and not to screen #19

Open
FokkeZB opened this issue Jul 9, 2014 · 0 comments
Open

minLeft is relative to original position and not to screen #19

FokkeZB opened this issue Jul 9, 2014 · 0 comments

Comments

@FokkeZB
Copy link

FokkeZB commented Jul 9, 2014

I try to set the bounds of the draggable to the screen by setting minTop and minLeft to 0 and maxTop and maxLeft to the platform width/height minus the draggable width/height.

All works fine except for minLeft. If I set this to 0 the draggable can not be moved left of the original position.

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