We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6787e9 commit 5158014Copy full SHA for 5158014
src/components/tracksLegendPanel/legend-multi-brush.js
@@ -65,7 +65,6 @@ class LegendMultiBrush extends Component {
65
}
66
67
createDefaults(domain) {
68
- let { hoveredLocationPanelIndex } = this.props;
69
this.createBrush();
70
let fragment = this.fragments[this.fragments.length - 1];
71
this.update();
@@ -335,7 +334,9 @@ class LegendMultiBrush extends Component {
335
334
return (
336
nextProps.domains.toString() !== this.props.domains.toString() ||
337
nextProps.width !== this.props.width ||
338
- nextState.hoveredChromo !== this.state.hoveredChromo
+ nextState.hoveredChromo !== this.state.hoveredChromo ||
+ nextProps.hoveredLocationPanelIndex !==
339
+ this.props.hoveredLocationPanelIndex
340
);
341
342
0 commit comments