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

Supply the mouse up event position/offset to menu item listener #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jerryzhenleicai
Copy link

In certain use cases , the menu item listener care about where the menu was popped up open. For example in a chart drawing app, if user delete a line, the app needs to know which line is selected for deletion.
This change forward the menu mouse event location to listener.

For backward compatibility, this PR may need to be changed so the Offset arg is optional.

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.

None yet

1 participant