Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
fef3f744
Commit
fef3f744
authored
Apr 21, 2021
by
Piotr Gawron
Browse files
update slider on +/-
parent
553efe16
Pipeline
#40242
passed with stage
in 20 minutes and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
fef3f744
...
...
@@ -11,6 +11,8 @@ minerva (16.0.0~alpha.2) stable; urgency=medium
their
lines
(#
1471
)
*
Bug
fix
:
when
selecting
drug
in
the
alias
window
the
input
text
is
updated
(#
1365
)
*
Bug
fix
:
zoom
slider
was
not
updated
when
clicking
on
+/-
in
genome
browser
(#
1064
)
*
Bug
fix
:
there
was
no
possibility
to
see
gene
variants
(
regression
16.0.0
~
alpha
.1
)
...
...
frontend-js/src/main/js/map/window/AliasInfoWindow.js
View file @
fef3f744
...
...
@@ -516,7 +516,8 @@ AliasInfoWindow.prototype.createGenomicDiv = function (params) {
var
distDiff
=
Math
.
floor
((
range
.
stop
-
range
.
start
+
1
)
/
4
);
range
.
start
+=
distDiff
;
range
.
stop
-=
distDiff
;
$
(
"
.zoom-slider
"
,
contentElement
).
val
(
parseInt
(
$
(
"
.zoom-slider
"
,
zoomControls
).
val
())
+
1
);
self
.
pileup
.
setRange
(
range
);
});
zoomIn
.
appendTo
(
zoomControls
);
...
...
@@ -534,6 +535,7 @@ AliasInfoWindow.prototype.createGenomicDiv = function (params) {
range
.
start
=
0
;
}
$
(
"
.zoom-slider
"
,
contentElement
).
val
(
parseInt
(
$
(
"
.zoom-slider
"
,
zoomControls
).
val
())
-
1
);
self
.
pileup
.
setRange
(
range
);
});
zoomOut
.
appendTo
(
zoomControls
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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