-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Right click button interactions #2322
Comments
This would be very well handled with per-entity events, see #2116. The impl there is not far from complete, but needs perf optimization. |
So we would have to wait for that to be merged? |
I pushed a quick fix for that in #2324 It will probably change how that works with the UI rework, but it's a small enough fix to do it now 👍 |
This is now complete due to |
What problem does this solve or what need does it fill?
Allowing right clicking on buttons would allow for unique behaviors on buttons depending on the type of click.
What solution would you like?
Instead of Clicked being a type of an enum, clicked itself uses the MouseButton enum so that a click can be left, right, middle, or otehr
What alternative(s) have you considered?
Having a RightClicked type, though it feels like code bloat since MouseButton exists.
Additional context
Any other information you would like to add such as related previous work,
screenshots, benchmarks, etc.
The text was updated successfully, but these errors were encountered: