Skip to content

Commit

Permalink
Remove the zoomLevel = 1/200
Browse files Browse the repository at this point in the history
Sometimes, initial setting of ```zoomLevel = 1/200``` gives inconsistent view having too big margin.
It would be nice to have it computed on-the-fly.
  • Loading branch information
hkmoon authored and cmdcolin committed Oct 31, 2018
1 parent c1a48f2 commit 5cf2237
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/JBrowse/Browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1021,8 +1021,7 @@ initView: function() {
elem: this.viewElem,
config: this.config.view,
stripeWidth: 250,
refSeq: this.refSeq,
zoomLevel: 1/200
refSeq: this.refSeq
});

dojo.connect( this.view, "onFineMove", this, "onFineMove" );
Expand Down

0 comments on commit 5cf2237

Please sign in to comment.