commit/galaxy-central: jgoecks: Fix bug in Trackster that offset difference indication between bases instead of over bases.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5bd15f074916/ Changeset: 5bd15f074916 User: jgoecks Date: 2013-04-15 19:29:34 Summary: Fix bug in Trackster that offset difference indication between bases instead of over bases. Affected #: 1 file diff -r b9971c68e9472a021f5b7a6784ee1244a85d5a1f -r 5bd15f07491607c9774bc3b9b5db9a4aea25768b static/scripts/viz/trackster/painters.js --- a/static/scripts/viz/trackster/painters.js +++ b/static/scripts/viz/trackster/painters.js @@ -864,7 +864,7 @@ } // Require a minimum w_scale so that variants are only drawn when somewhat zoomed in. else if (w_scale > 0.05) { - ctx.fillRect(c_start, + ctx.fillRect(c_start - gap, y_center + (pack_mode ? 1 : 4), Math.max( 1, Math.round(w_scale) ), (pack_mode ? PACK_FEATURE_HEIGHT : SQUISH_FEATURE_HEIGHT)); @@ -1172,7 +1172,7 @@ } // Require a minimum w_scale so that variants are only drawn when somewhat zoomed in. else if (w_scale > 0.05) { - ctx.fillRect(c_start, + ctx.fillRect(c_start - gap, y_center + (pack_mode ? 1 : 4), Math.max( 1, Math.round(w_scale) ), (pack_mode ? PACK_FEATURE_HEIGHT : SQUISH_FEATURE_HEIGHT)); 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