diff --git a/src/components/tree/phyloTree/renderers.js b/src/components/tree/phyloTree/renderers.js index 92ad6ed84..c292011e5 100644 --- a/src/components/tree/phyloTree/renderers.js +++ b/src/components/tree/phyloTree/renderers.js @@ -119,11 +119,11 @@ export const drawTips = function drawTips() { .on("mouseover", this.callbacks.onTipHover) .on("mouseout", this.callbacks.onTipLeave) .on("click", this.callbacks.onTipClick) - .style("pointer-events", "auto") + /* .style("pointer-events", "auto") */ .style("visibility", (d) => d.visibility === NODE_VISIBLE ? "visible" : "hidden") .style("fill", (d) => d.fill || params.tipFill) - .style("stroke", (d) => d.tipStroke || params.tipStroke) - .style("stroke-width", () => params.tipStrokeWidth) /* don't want branch thicknesses applied */ + /* .style("stroke", (d) => d.tipStroke || params.tipStroke) */ + /* .style("stroke-width", () => params.tipStrokeWidth) don't want branch thicknesses applied */ .style("cursor", "pointer"); timerEnd("drawTips"); @@ -194,7 +194,7 @@ export const drawBranches = function drawBranches() { .style("stroke", (d) => d.branchStroke || params.branchStroke) .style("stroke-width", (d) => Math.round(d['stroke-width'] || params.branchStrokeWidth)) .style("fill", "none") - .style("pointer-events", "auto") + /* .style("pointer-events", "auto") */ .on("mouseover", this.callbacks.onBranchHover) .on("mouseout", this.callbacks.onBranchLeave) .on("click", this.callbacks.onBranchClick); @@ -226,7 +226,7 @@ export const drawBranches = function drawBranches() { if (!d.branchStroke) return params.branchStroke; return strokeForBranch(d, "S"); }) - .style("stroke-linecap", "round") + /*.style("stroke-linecap", "round") */ .style("stroke-width", (d) => Math.round(d['stroke-width'] || params.branchStrokeWidth)) .style("visibility", getBranchVisibility) .style("cursor", (d) => d.visibility === NODE_VISIBLE ? "pointer" : "default") diff --git a/src/components/tree/tree.js b/src/components/tree/tree.js index b59ade05f..0a8fed7dc 100644 --- a/src/components/tree/tree.js +++ b/src/components/tree/tree.js @@ -113,7 +113,7 @@ class Tree extends React.Component { return ( {mainTree ? this.domRefs.mainTree = c : this.domRefs.secondTree = c;}}