Commit fef3f744 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

update slider on +/-

parent 553efe16
Pipeline #40242 passed with stage
in 20 minutes and 31 seconds
......@@ -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)
......
......@@ -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);
......
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