Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Remi PLANEL
bioviz-js
Commits
5dd5bff5
Commit
5dd5bff5
authored
Jun 07, 2019
by
Remi PLANEL
Browse files
Change formatting
parent
642f6523
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/scripts/component/ruler/chromosome.ts
View file @
5dd5bff5
...
...
@@ -58,7 +58,10 @@ export default function () {
.
select
<
SVGTextElement
>
(
"
.title > text
"
)
.
style
(
"
fill
"
,
"
black
"
)
.
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
);
...
...
tests/brushable-chromosome.test.ts
View file @
5dd5bff5
...
...
@@ -26,7 +26,9 @@ describe("Test Chromosome Ruler", () => {
.
call
(
brushableChromosomeRulerComponent
,
1500
,
20
);
expect
(
container
.
html
()).
toBe
(
result
);
})
test
(
"
Test end event when selection bigger than max
"
,
()
=>
{
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment