Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uppaint example slightly misleading with respect to mouse_cursor_args #375
Comments
radix
referenced this issue
Nov 29, 2016
Merged
Remove a useless call to mouse_cursor_args() while handling a MouseButton event #376
This comment has been minimized.
This comment has been minimized.
|
I'll close this since the PR was merged, thanks :) |
radix
closed this
Nov 29, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
radix commentedNov 29, 2016
event.mouse_cursor_argsdoes not return coordinates when the event has aMouseButtonevent -- 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 forMouseButtonwas 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.