Skip to content

Conversation

@dpvc
Copy link
Member

@dpvc dpvc commented Oct 19, 2025

This PR changes command-based menu items to process the press() method on mouse up rather than mouse down, so that the mouseup event ge4ts processed by the menu rather than being passed on to whatever is behind the menu. That is important, for example, when a dialog is opened, so that the mouse doesn't cancel the dialog.

This also means you can click on a menu item and then move off the menu item to prevent its action from being taken, as with most os system menus.

@dpvc dpvc requested a review from zorkow October 19, 2025 19:36
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.

2 participants