Skip to content

Commit

Permalink
Update second tree tip-radii after a tip has been clicked. closes #664
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshadfield committed Sep 19, 2018
1 parent e1caff5 commit b58eb60
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 b58eb60

Please sign in to comment.