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

Cursor Drifting During Dragging #26

Closed
2 tasks done
zglueck opened this issue Nov 16, 2016 · 1 comment
Closed
2 tasks done

Cursor Drifting During Dragging #26

zglueck opened this issue Nov 16, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@zglueck
Copy link
Contributor

zglueck commented Nov 16, 2016

This is a follow on to issues #6 and #20 and the solution in commit f67dee9.

@dr3amr2 reported an instance of the UserFacingIcon drifting while being dragged.

Initial review looks like I didn't set the default altitude mode appropriately for the object. Plan is to review other classes and make a slight modification to the drag calculations.

  • Check All Defaults
  • Modify DraggableSupport to use the CLAMP_TO_GROUND drag position method for objects with 0.0 altitude and RELATIVE_TO_GROUND altitude mode.
@zglueck
Copy link
Contributor Author

zglueck commented Nov 16, 2016

I reviewed all the default altitude modes and dragging methods for objects implementing Draggable and made a few changes. The UserFacingIcon now uses a RELATIVE_TO_GROUND altitude mode which should fix @dr3amr2 issue.

Update is in commit e3e8831

@zglueck zglueck closed this as completed Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant