Commit bf6362fc authored by Remi  PLANEL's avatar Remi PLANEL

Set a max window size of brush

parent 432eb0e9
......@@ -159,6 +159,7 @@ function getGenomeBrowserData(state: State) {
title: chromosomeTitle + " (" + chromosomeSize + " bp)",
interval: chromInterval,
window,
maxWindowSize: chromosomeSize,
eventHandler: {
brushed: brushedCallback
}
......
......@@ -29,6 +29,7 @@ export interface GenericAxisData {
export interface BrushableAxisData extends GenericAxisData {
window: [number, number],
maxWindowSize: number,
eventHandler?: {
brushed: (scale: ScaleLinear<number, number>) => void
}
......
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