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
b4e885d6
Commit
b4e885d6
authored
Jun 04, 2019
by
Remi PLANEL
Browse files
Change signature of updateSelectedChromosome
parent
5704fa52
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/main-genome-browser.ts
View file @
b4e885d6
...
@@ -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
);
);
}
}
}
}
...
...
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