Skip to content

Commit

Permalink
there is not really any need to say anything about nudging the zoom l…
Browse files Browse the repository at this point in the history
…evel
  • Loading branch information
rbuels committed Jul 2, 2012
1 parent fa8aad6 commit 85e4dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JBrowse/GenomeView.js
Expand Up @@ -790,7 +790,7 @@ GenomeView.prototype.setLocation = function(refseq, startbp, endbp) {
//the highest level if it's close.
//Exactly how close is arbitrary; 0.2 was chosen to be close
//enough that people wouldn't notice if we fudged that much.
console.log("nudging zoom level from %d to %d", this.pxPerBp, this.zoomLevels[this.zoomLevels.length - 1]);
//console.log("nudging zoom level from %d to %d", this.pxPerBp, this.zoomLevels[this.zoomLevels.length - 1]);
this.pxPerBp = this.zoomLevels[this.zoomLevels.length - 1];
}
this.stripeWidth = (this.stripeWidthForZoom(this.curZoom) / this.zoomLevels[this.curZoom]) * this.pxPerBp;
Expand Down

0 comments on commit 85e4dc6

Please sign in to comment.