Skip to content

Commit

Permalink
Properly check for stroke-width
Browse files Browse the repository at this point in the history
svgPropsToUpdate is Set<string>, not Set<string[]>.
  • Loading branch information
victorlin committed Nov 12, 2024
1 parent 6083f73 commit 83326a2
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 @@ -418,7 +418,7 @@ export const change = function change(
}
/* mapToScreen */
if (
svgPropsToUpdate.has(["stroke-width"]) ||
svgPropsToUpdate.has("stroke-width") ||
newDistance ||
newLayout ||
changeNodeOrder ||
Expand Down

0 comments on commit 83326a2

Please sign in to comment.