Commit 1491d5d6 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Change default arrowWidth (20 -> 10)

parent e438a1b0
import gene, { GeneData, PositionedGeneData } from "./gene"; import { PositionedGeneData} from "../../types";
import { path } from "d3-path"; import { path } from "d3-path";
export function arrowShape( export function arrowShape(
data: PositionedGeneData, data: PositionedGeneData,
geneHeight: number, geneHeight: number,
arrowWidth: number = 20 arrowWidth: number = 10
) { ) {
const { position: { width } } = data; const { position: { width } } = data;
return (width < arrowWidth) return (width < arrowWidth)
......
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