e06f749516a194b916fb998122236a2c861fd455 braney Mon Mar 21 13:35:48 2022 -0700 remove a check that prevents logo display on data sources with very small values diff --git src/hg/hgTracks/wigTrack.c src/hg/hgTracks/wigTrack.c index 231d4d5..86c6497 100644 --- src/hg/hgTracks/wigTrack.c +++ src/hg/hgTracks/wigTrack.c @@ -1279,31 +1279,31 @@ char string[2]; string[0] = toupper(base); string[1] = 0; MgFont *font = tl.font; int height = dataValue * scaleFactor; unsigned color = MG_BLACK; if (base == 'a') color = MG_RED; else if (base == 't') color = MG_GREEN; else if (base == 'c') color = MG_BROWN; else if (base == 'g') color = MG_BLUE; - if (abs(dataValue) > 0.1) + //if (abs(dataValue) > 0.1) // I have no idea why this check is here, so I'll leave it in just in case I'm just being forgetful { if (dataValue < 0) { // useful for debug, fills a box where letter goes // hvGfxBox(hvg, x, yOff+graphUpperLimit * scaleFactor, width, -height, MG_BLACK); hvGfxTextInBox(hvg, x, yOff+graphUpperLimit * scaleFactor, width - 1, dataValue * scaleFactor, color, font, string); } else { // useful for debug, fills a box where letter goes // hvGfxBox(hvg, x, yOff-height+graphUpperLimit * scaleFactor, width, height, MG_BLACK); hvGfxTextInBox(hvg, x, yOff-height+graphUpperLimit * scaleFactor, width - 1, dataValue * scaleFactor, color, font, string); }