Skip to content

Commit

Permalink
fix bug with HTMLFeatures loadSuccess rendering features before this.…
Browse files Browse the repository at this point in the history
…*Scale values are calculated
  • Loading branch information
rbuels committed Sep 10, 2012
1 parent 37ff69e commit b6471c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JBrowse/View/Track/HTMLFeatures.js
Expand Up @@ -128,10 +128,10 @@ var HTMLFeatures = declare( BlockBased,
},

loadSuccess: function() {
this.inherited(arguments);
this.labelScale = this.featureStore.density * this.config.style.labelScale;
this.subfeatureScale = this.featureStore.density * this.config.style.subfeatureScale;
this.descriptionScale = this.featureStore.density * this.config.style.descriptionScale;;
this.inherited(arguments);
},

/**
Expand Down

0 comments on commit b6471c0

Please sign in to comment.