Skip to content

Click on mouse button up, not mouse button down? #545

Answered by christoph-heinrich
HubKing asked this question in Q&A
Discussion options

You must be logged in to vote

Can this be changed to mouse button up?

Wouldn't be hard to change, but I never saw a problem with how it is now.
Elements have handle_cursor_down() and handle_cursor_up() functions, in most cases it should be fine to just replace down with up. Some extra care needs to be taken with elements that can be dragged (e.g. menu).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by HubKing
Comment options

You must be logged in to vote
1 reply
@HubKing
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants