commit/galaxy-central: jgoecks: Trackster: small fix for read drawing and added note about larger issue.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/c0330af57060/ changeset: r5266:c0330af57060 user: jgoecks date: 2011-03-24 18:52:04 summary: Trackster: small fix for read drawing and added note about larger issue. affected #: 1 file (213 bytes) --- a/static/scripts/trackster.js Thu Mar 24 11:45:50 2011 -0400 +++ b/static/scripts/trackster.js Thu Mar 24 13:52:04 2011 -0400 @@ -2782,8 +2782,10 @@ // Keep list of items that need to be drawn on top of initial drawing layer. var draw_last = []; + // Gap is needed so that read is offset and hence first base can be drawn on read. + // TODO-FIX: using this gap offsets reads so that their start is not visually in sync with other tracks. if ((mode === "Pack" || this.mode === "Auto") && orig_seq !== undefined && w_scale > CHAR_WIDTH_PX) { - gap = Math.round(w_scale/2); + gap = Math.ceil(CHAR_WIDTH_PX/2 + 1); } if (!cigar) { // If no cigar string, then assume all matches 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