Skip to content

FIX: Respect visibility in the LegendHighlighter#402

Merged
jwiggins merged 1 commit into
masterfrom
fix/legend-highlighter-visibility
Mar 30, 2018
Merged

FIX: Respect visibility in the LegendHighlighter#402
jwiggins merged 1 commit into
masterfrom
fix/legend-highlighter-visibility

Conversation

@jwiggins
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

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

@corranwebster
Copy link
Copy Markdown
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