Skip to content

Commit

Permalink
use global stats instead of region stats to make decisions about how …
Browse files Browse the repository at this point in the history
…to render things in HTMLFeatures stores
  • Loading branch information
rbuels committed Feb 21, 2013
1 parent 8ef1963 commit 6b25246
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/JBrowse/View/Track/HTMLFeatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ var HTMLFeatures = declare( [ BlockBased, YScaleMixin, ExportMixin, FeatureDetai

var region = { ref: this.refSeq.name, start: leftBase, end: rightBase };

this.store.getRegionStats(
region,
this.store.getGlobalStats(
dojo.hitch( this, function( stats ) {

var density = stats.featureDensity;
Expand Down

0 comments on commit 6b25246

Please sign in to comment.