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

[macOS] Improve native menu open/close callbacks. #92781

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Jun 5, 2024

  • Fixes OSX MenuBar fails to render #91855 (comment) (Can't remove open menu! messages when dock menu is updated in a specific conditions).
  • Deffer menu close callback, since it should not be able to modify menu items during system menuDidClose event.
  • Adds is_opened to check if menu is opened, since open callback can be triggered without corresponding close callback.

Fixes #92789

@akien-mga akien-mga merged commit ea7d988 into godotengine:master Jun 7, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants