edd385f31b97ea6b5a9a0b6ccfcaaeff3c5afb74 braney Sat Jul 3 10:44:16 2021 -0700 fix up logo drawing in hgTracks diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index a0686cf..08d59e7 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -8217,33 +8217,34 @@ while(fgetc(f) != '\n') ; hvGfxSetClip(hvg, xOff, yOff, width*2 , 52); /* map colors from PGM to browser colors */ Color *colors = needMem(sizeof(Color) * width); for(ii=0; ii < 52; ii++) { int jj; mustRead(f, buf, width); for(jj=0; jj < width + 2; jj++) { if (buf[jj] == 255) colors[jj] = MG_WHITE; - else if (buf[jj] == 0x44) colors[jj] = MG_RED; - else if (buf[jj] == 0x69) colors[jj] = greenColor; - else if (buf[jj] == 0x5e) colors[jj] = blueColor; + else if (buf[jj] == 0x87) colors[jj] = MG_RED; + else if (buf[jj] == 0x60) colors[jj] = greenColor; + else if (buf[jj] == 0x7f) colors[jj] = blueColor; + else if (buf[jj] == 0x62) colors[jj] = orangeColor; } hvGfxVerticalSmear(hvg,xOff,yOff+ii,width ,1, colors,TRUE); } hvGfxUnclip(hvg); fclose(f); remove(pngTn.forCgi); } boolean tfbsConsSitesWeightFilterItem(struct track *tg, void *item, float cutoff) /* Return TRUE if item passes filter. */ { struct tfbsConsSites *el = item;