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

Mouse gets away from the object it is dragging #60

Closed
samreid opened this issue May 22, 2013 · 2 comments
Closed

Mouse gets away from the object it is dragging #60

samreid opened this issue May 22, 2013 · 2 comments

Comments

@samreid
Copy link
Member

samreid commented May 22, 2013

In balloons-and-static-electricity the drag handler is provided by SimpleDragHandler, and the pointer can get away from the object it is dragging (if you drag it against the wall for example). Scenery should provide support for a drag handler that stores the relative location of the object and uses it for dragging. I am also having this problem with the objects and sliders in Forces and Motion Basics. This is very closely related to #3

This could be handled in balloons but I think it would be superior and more maintainable to provide support directly in scenery. In my opinion, this behavior should be fixed before our July milestone.

@jonathanolson
Copy link
Contributor

Recommend handling in new drag listener, see #131.

Sound acceptable?

@samreid
Copy link
Member Author

samreid commented Feb 29, 2016

We have good support for this in MovableDragHandler, I wouldn't mind if we also had good support for it in the next generation scenery input listeners and we can track it in #131.

@samreid samreid closed this as completed Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants