commit/galaxy-central: jgoecks: Trackster: cleanup for reference track display.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/657b26329483/ Changeset: 657b26329483 User: jgoecks Date: 2013-10-11 00:09:15 Summary: Trackster: cleanup for reference track display. Affected #: 3 files diff -r 4839d50a03a8eb9d302c49eb5151f11c987b6001 -r 657b263294836bbc1847ff66de72ddc7eb94ba11 static/scripts/viz/trackster/tracks.js --- a/static/scripts/viz/trackster/tracks.js +++ b/static/scripts/viz/trackster/tracks.js @@ -3727,13 +3727,9 @@ TiledTrack.call(this, view, { content_div: view.top_labeltrack }, { resize: false }); view.reference_track = this; - this.left_offset = 200; this.visible_height_px = 12; this.container_div.addClass("reference-track"); - this.content_div.css("background", "none"); - this.content_div.css("min-height", "0px"); - this.content_div.css("border", "none"); - this.data_url = galaxy_config.root + "api/genomes/" + "/" + this.view.dbkey; + this.data_url = galaxy_config.root + "api/genomes/" + this.view.dbkey; this.data_url_extra_params = {reference: true}; this.data_manager = new visualization.GenomeReferenceDataManager({ data_url: this.data_url, @@ -3780,6 +3776,7 @@ // Try to subset data. var subset = this.data_manager.subset_entry(data, region), seq_data = subset.data; + console.log(region.toString()); // Draw sequence data. var canvas = ctx.canvas; @@ -4151,6 +4148,7 @@ * @param ref_seq reference sequence data */ draw_tile: function(result, ctx, mode, region, w_scale, ref_seq) { + console.log("FeatureTrack", region.toString()); var track = this, canvas = ctx.canvas, tile_low = region.get('start'), diff -r 4839d50a03a8eb9d302c49eb5151f11c987b6001 -r 657b263294836bbc1847ff66de72ddc7eb94ba11 static/style/blue/trackster.css --- a/static/style/blue/trackster.css +++ b/static/style/blue/trackster.css @@ -27,7 +27,7 @@ .track{background:white} .track-header{text-align:left;padding:4px 0px;color:#666} .track-header .menubutton{margin-left:0px} -.tiles{text-align:center;background:#eee url('../images/tracks/diag_bg.gif');min-height:16px;position:relative;overflow:hidden} +.tiles{text-align:center;background:#eee url('../images/tracks/diag_bg.gif');position:relative;overflow:hidden} .overlay{position:absolute;left:0;top:0} .track-name{float:left;margin-top:2px;height:16px} .label-track .track-content{background:white} diff -r 4839d50a03a8eb9d302c49eb5151f11c987b6001 -r 657b263294836bbc1847ff66de72ddc7eb94ba11 static/style/src/less/trackster.less --- a/static/style/src/less/trackster.less +++ b/static/style/src/less/trackster.less @@ -200,7 +200,6 @@ .tiles { text-align: center; background: #eee url('../images/tracks/diag_bg.gif'); - min-height: 16px; position: relative; overflow: hidden; } Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org