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

no support for left mouse click #20

Open
khomin opened this issue Nov 26, 2022 · 0 comments
Open

no support for left mouse click #20

khomin opened this issue Nov 26, 2022 · 0 comments

Comments

@khomin
Copy link

khomin commented Nov 26, 2022

Sometimes it is necessarily to open context menu by left click
So i have to modify:

shouldReact = e.kind == PointerDeviceKind.mouse &&
                e.buttons == kSecondaryMouseButton ||
            e.buttons == kPrimaryButton;

But it would be better if developers can choose which mouse will open menu

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

No branches or pull requests

1 participant