Skip to content

Right click button interactions #2322

Closed
@billyb2

Description

@billyb2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions