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

Fix hover legend #347

Merged
merged 2 commits into from
Nov 6, 2017
Merged

Fix hover legend #347

merged 2 commits into from
Nov 6, 2017

Conversation

Indigo744
Copy link
Collaborator

PR #319 (event delegation) introduces (another) regression regarding legend element hovering.

This PR fixes that.

@Indigo744 Indigo744 requested a review from neveldo November 2, 2017 18:49
@Indigo744
Copy link
Collaborator Author

Not really sure why the check fails...

@Indigo744
Copy link
Collaborator Author

Weird, I get the same error on master...

@Indigo744
Copy link
Collaborator Author

Fixed by #348

Copy link
Owner

@neveldo neveldo left a comment

Choose a reason for hiding this comment

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

Hello @Indigo744 , great catch ! (my bad, I admit that I didn't check all of the usecases in our code samples when reviewing the previous PRs !). I saw that you have removed some useless checks, and simplified some types checks thanks to dataTypeToElementMapping :)

@Indigo744
Copy link
Collaborator Author

Indeed, it was something that I missed the first time I implemented the dataTypeToElementMapping ^^

@Indigo744 Indigo744 merged commit cf1c207 into neveldo:master Nov 6, 2017
@Indigo744 Indigo744 deleted the fix_hover_legend branch November 9, 2017 20:52
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