Commit 5dd5bff5 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Change formatting

parent 642f6523
...@@ -58,7 +58,10 @@ export default function () { ...@@ -58,7 +58,10 @@ export default function () {
.select<SVGTextElement>(".title > text") .select<SVGTextElement>(".title > text")
.style("fill", "black") .style("fill", "black")
.style("font-family", "monospace") .style("font-family", "monospace")
.attr("transform", d => "translate(" + (width / 2 + d.title.length * 8 / 2) + ",20)") .attr(
"transform",
d => "translate(" + (width / 2 + d.title.length * 8 / 2) + ",20)"
)
.text(d => d.title); .text(d => d.title);
......
...@@ -26,7 +26,9 @@ describe("Test Chromosome Ruler", () => { ...@@ -26,7 +26,9 @@ describe("Test Chromosome Ruler", () => {
.call(brushableChromosomeRulerComponent, 1500, 20); .call(brushableChromosomeRulerComponent, 1500, 20);
expect(container.html()).toBe(result); expect(container.html()).toBe(result);
}) })
test("Test end event when selection bigger than max", () => {
});
}); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment