Skip to content
Permalink
Browse files

Update tip labels on layout change

Previously, `updateTipLabels()` was not being called when modifying the
SVG after a layout change.
  • Loading branch information...
kairstenfay committed May 31, 2019
1 parent 76546d5 commit f944011d7fa5ac11a178570eb1d06eaa98f8826b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/components/tree/phyloTree/change.js
@@ -204,6 +204,7 @@ export const modifySVGInStages = function modifySVGInStages(elemsToUpdate, svgPr
if (this.params.showGrid) this.addGrid();
this.svg.selectAll(".tip").remove();
this.drawTips();
this.updateTipLabels();
if (this.vaccines) this.drawVaccines();
this.addTemporalSlice();
if (this.layout === "clock" && this.distance === "num_date") this.drawRegression();

0 comments on commit f944011

Please sign in to comment.
You can’t perform that action at this time.