commit/galaxy-central: jgoecks: Trackster: for feature tracks, only draw name if available.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/3bd47802bff7/ changeset: 3bd47802bff7 user: jgoecks date: 2012-08-23 19:56:34 summary: Trackster: for feature tracks, only draw name if available. affected #: 1 file diff -r c06d0ea23c902e13a5d38ed56ab8cad53130fea5 -r 3bd47802bff7946958b0a616e3d42aef50c63277 static/scripts/viz/trackster.js --- a/static/scripts/viz/trackster.js +++ b/static/scripts/viz/trackster.js @@ -5690,7 +5690,7 @@ ctx.globalAlpha = 1; // Draw label for Pack mode. - if (mode === "Pack" && feature_start > tile_low) { + if (feature_name && mode === "Pack" && feature_start > tile_low) { ctx.fillStyle = label_color; // FIXME: assumption here that the entire view starts at 0 if (tile_low === 0 && f_start - ctx.measureText(feature_name).width < 0) { 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)
-
Bitbucket