Commit b4e885d6 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Change signature of updateSelectedChromosome

parent 5704fa52
...@@ -130,7 +130,7 @@ function brushHandler(scale: any, state: GenomeBrowserState) { ...@@ -130,7 +130,7 @@ function brushHandler(scale: any, state: GenomeBrowserState) {
const newwindow: [number, number] = [scale.invert(x1), scale.invert(x2)]; const newwindow: [number, number] = [scale.invert(x1), scale.invert(x2)];
state.window = newwindow; state.window = newwindow;
genomeBrowserComponent.updateSelectedChromosome( genomeBrowserComponent.updateSelectedChromosome(
genomeBrowserLayout(state, brushHandler, clickHandler) genomeBrowserLayout(state, brushHandler, clickHandler).selectedChromosome
); );
} }
} }
......
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