Skip to content

Commit

Permalink
fixup! Add tree-related types
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Nov 7, 2024
1 parent ad1f2ce commit 6ca81c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tree/phyloTree/change.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const genericSelectAndModify = (
let selection: SelectionOrTransition = svg.selectAll<SVGGElement, PhyloNode>(treeElem)
.filter((d: PhyloNode) => d.update);
if (transitionTime) {
selection.transition().duration(transitionTime);
selection = selection.transition().duration(transitionTime);
}
selection.call(updateCall);
};
Expand Down

0 comments on commit 6ca81c6

Please sign in to comment.