Skip to content

Commit

Permalink
Merge pull request #1372 from nextstrain/tip-filters
Browse files Browse the repository at this point in the history
Inactivate tips when no longer focused
  • Loading branch information
jameshadfield authored Jul 15, 2021
2 parents c0ff4e4 + b060167 commit 13d13af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tree/reactD3Interface/callbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@ export const clearSelectedTip = function clearSelectedTip(d) {
.attr("r", (dd) => dd["r"]);
this.setState({selectedTip: null, hovered: null});
/* restore the tip visibility! */
this.props.dispatch(applyFilter("remove", strainSymbol, [d.n.name]));
this.props.dispatch(applyFilter("inactivate", strainSymbol, [d.n.name]));
};

0 comments on commit 13d13af

Please sign in to comment.