Skip to content

Commit

Permalink
Update branch tip labels on layout change
Browse files Browse the repository at this point in the history
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 579c524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/tree/phyloTree/change.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 579c524

Please sign in to comment.