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 clicked helper methods #70

Merged
merged 1 commit into from
Nov 12, 2023
Merged

Add clicked helper methods #70

merged 1 commit into from
Nov 12, 2023

Conversation

JD557
Copy link
Owner

@JD557 JD557 commented Nov 12, 2023

Adds a HistoricalInputState#mouseClicked and ItemStatus#clicked helpers that are true in the frame the mouse is released.

This makes it much simpler to create components that handle mouse clicks (which are most of them).

@JD557 JD557 added this to the 0.1.5 milestone Nov 12, 2023
@JD557 JD557 merged commit 35d150a into master Nov 12, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant