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

paint example slightly misleading with respect to mouse_cursor_args #375

Closed
radix opened this issue Nov 29, 2016 · 1 comment

Comments

@radix
Copy link
Contributor

commented Nov 29, 2016

event.mouse_cursor_args does not return coordinates when the event has a MouseButton event -- an odd behavior, for sure, but the paint example specifically calls it anyway when it receives a mouse click. It also calls it elsewhere, but the call in the handler for MouseButton was enough to confuse me for a couple of hours as I tried to get mouse input working.

I'll submit a PR to remove that call.

@radix

This comment has been minimized.

Copy link
Contributor Author

commented Nov 29, 2016

I'll close this since the PR was merged, thanks :)

@radix radix closed this Nov 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.