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 Area::sense and improve hit-testing of buttons in menus #4234

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented Mar 26, 2024

Previously, putting the cursor in the gap between two menu buttons would not hover any of the buttons, but the click-sensitive menu itself. Now the menu is no longer click-sensitive.

@emilk emilk added the egui label Mar 26, 2024
@emilk emilk merged commit 8a880d6 into master Mar 26, 2024
36 checks passed
@emilk emilk deleted the emilk/area-sense branch March 26, 2024 10:12
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
…4234)

Previously, putting the cursor in the gap between two menu buttons would
not hover any of the buttons, but the click-sensitive menu itself. Now
the menu is no longer click-sensitive.
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.

1 participant