Skip to content

Commit

Permalink
Round subpart rectangles in gene structure models
Browse files Browse the repository at this point in the history
  • Loading branch information
eweitz committed Jul 11, 2022
1 parent ee1aff0 commit f543683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/kit/related-genes.js
Expand Up @@ -1017,7 +1017,7 @@ function getGeneStructureSvg(gene, ideo) {
const length = subpart[2] / bpPerPx;
const posAttrs = `x="${left}" width="${length}" y="0" height="${height}"`;
const subpartSvg = (
`<rect fill="${color}" ${posAttrs} />`
`<rect rx="1.5" fill="${color}" ${posAttrs} />`
);
geneStructureArray.push(subpartSvg);
}
Expand Down

0 comments on commit f543683

Please sign in to comment.