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
29392ff2
Commit
29392ff2
authored
Apr 03, 2019
by
Remi PLANEL
Browse files
Change color genes
parent
41cc7a00
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/component/sequence/gene.ts
View file @
29392ff2
...
...
@@ -57,7 +57,7 @@ export default function () {
updateGenes
.
attr
(
"
transform
"
,
d
=>
"
translate(
"
+
d
.
position
.
x
+
"
,
"
+
d
.
position
.
y
+
"
)
"
);
updateGenes
.
select
<
SVGPathElement
>
(
"
path
"
)
.
style
(
"
fill
"
,
d
=>
d
.
strand
===
"
+
"
?
"
indian
red
"
:
"
steel
blue
"
)
.
style
(
"
fill
"
,
d
=>
d
.
strand
===
"
+
"
?
"
dark
red
"
:
"
dark
blue
"
)
.
attr
(
"
transform
"
,
({
strand
,
position
:
{
width
}
})
=>
(
strand
===
"
-
"
)
...
...
Write
Preview
Supports
Markdown
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