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

Clear tempTrans Position After Updating oldTrans Coords #12

Merged
merged 1 commit into from
Aug 26, 2017
Merged

Clear tempTrans Position After Updating oldTrans Coords #12

merged 1 commit into from
Aug 26, 2017

Conversation

bmartinson
Copy link
Contributor

@bmartinson bmartinson commented Aug 25, 2017

Make sure that we clear our tempTrans coordinates after updating the oldTrans cached coordinates so that simple clicks on the ngDraggable element do not compound the previous translation on the next drag (causing the element to jump on screen).

Make sure that we clear our tempTrans coordinates after updating the
oldTrans cached coordinates so that simple clicks on the ngDraggable
element do not compound the previous translation on the next drag
(causing the element to jump on screen).
@bmartinson
Copy link
Contributor Author

This is a fix for issue #11.

Thanks for all your work on this project - very helpful!

@xieziyu xieziyu merged commit 8cad1fa into xieziyu:master Aug 26, 2017
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