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: Respect visibility in the LegendHighlighter #402

Merged
merged 1 commit into from
Mar 30, 2018

Conversation

jwiggins
Copy link
Member

Before, the LegendHighlighter tool would respond to mouse clicks even if the legend was not visible.

@@ -1,6 +1,5 @@
import operator

import six
Copy link
Member Author

Choose a reason for hiding this comment

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

Unrelated cleanup. This import was not used at all in the file

@corranwebster
Copy link
Contributor

LGTM, although is this the only place where there is this sort of problem? I'm not sure we should do something as drastic as not dispatching events to non-visible components in Enable, but it might be worth a quick audit of other tools.

@jwiggins
Copy link
Member Author

Thanks for the quick review. Shall I create an issue for the audit of the other tools?

@corranwebster
Copy link
Contributor

Yes, that would be a good idea.

@jwiggins jwiggins merged commit e110800 into master Mar 30, 2018
@jwiggins jwiggins deleted the fix/legend-highlighter-visibility branch March 30, 2018 11:21
jwiggins added a commit that referenced this pull request Jul 12, 2018
FIX: Respect visibility in the LegendHighlighter
@jwiggins jwiggins mentioned this pull request Jul 12, 2018
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