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

Add power of two values to MouseButton #799

Merged
merged 1 commit into from
Mar 16, 2023
Merged

Add power of two values to MouseButton #799

merged 1 commit into from
Mar 16, 2023

Conversation

dezoitodemaio
Copy link
Contributor

Add power of two values to MouseButton so MouseButton.HasFlags can be used.

@Gandifil Gandifil requested review from Gandifil and removed request for Gandifil March 16, 2023 13:56
@Gandifil
Copy link
Contributor

Yes, more than one mouse buttons can be pressed at the moment and attribute "Flags" don't setup enum values.
But remember, events and MouseStateExtended use this enum as standalone.

@Gandifil Gandifil merged commit f8fb223 into craftworkgames:develop Mar 16, 2023
@Gandifil Gandifil added the bug label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants