From b6471c0dad83f465ca7e6f3c70be069ec470a30e Mon Sep 17 00:00:00 2001 From: Robert Buels Date: Mon, 10 Sep 2012 16:15:35 -0400 Subject: [PATCH] fix bug with HTMLFeatures loadSuccess rendering features before this.*Scale values are calculated --- src/JBrowse/View/Track/HTMLFeatures.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JBrowse/View/Track/HTMLFeatures.js b/src/JBrowse/View/Track/HTMLFeatures.js index b8a7e5ede8..b32c9542b0 100644 --- a/src/JBrowse/View/Track/HTMLFeatures.js +++ b/src/JBrowse/View/Track/HTMLFeatures.js @@ -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); }, /**