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

Pass through google rightclick event to onClick #7728

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

felixpalmer
Copy link
Collaborator

For #7661

Change List

  • Register for rightclick event from Google map

@coveralls
Copy link

Coverage Status

Coverage: 90.049% (-0.003%) from 90.052% when pulling f38392c on felix/google-right-click into 4530b32 on master.

@@ -293,6 +294,8 @@ function handleMouseEvent(deck: Deck, type: string, event) {

switch (type) {
case 'click':
case 'rightclick':
mockEvent.type = 'click';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to set button here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that a standard API, do we do that elsewhere? I can add it but it can already be obtained from event.srcEvent.domEvent.button

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.

3 participants