Skip to content

Commit

Permalink
Merge pull request #666 from nextstrain/two-tree-node-click
Browse files Browse the repository at this point in the history
Update second tree tip-radii after a tip has been clicked
  • Loading branch information
jameshadfield authored Sep 19, 2018
2 parents e1caff5 + b58eb60 commit 1d814a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/actions/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ export const updateVisibleTipsAndBranchThicknesses = (
data: newTipRadii,
version: newTipRadiiVersion
};
if (controls.showTreeToo) {
dispatchRadii.dataToo = calcTipRadii({tipSelected, colorScale: controls.colorScale, tree: treeToo});
}
dispatch(dispatchRadii);
}

Expand Down

0 comments on commit 1d814a1

Please sign in to comment.