2bdee8ddac1afae7285e99ae4e3edf4da2609bf7 braney Tue Sep 10 16:53:22 2013 -0700 thicken up the duplication bars in snake tracks diff --git src/hg/hgTracks/snakeTrack.c src/hg/hgTracks/snakeTrack.c index e6c8be6..98670ac 100644 --- src/hg/hgTracks/snakeTrack.c +++ src/hg/hgTracks/snakeTrack.c @@ -603,34 +603,34 @@ for(; dupeList ; dupeList = dupeList->next, count += 3) { struct hal_target_range_t *range = dupeList->tRange; #define NUM_CHROM_COLORS 26 extern Color chromColor[NUM_CHROM_COLORS+1]; Color color = chromColor[(count % NUM_CHROM_COLORS) + 1]; for(; range; range = range->next) { int s = range->tStart; int e = range->tStart + range->size; int sClp = (s < winStart) ? winStart : s; int eClp = (e > winEnd) ? winEnd : e; int x1 = round((sClp - winStart)*scale) + xOff; int x2 = round((eClp - winStart)*scale) + xOff; - hvGfxLine(hvg, x1, y , x2, y , color); + hvGfxBox(hvg, x1, y , x2-x1, 3 , color); } } -y+=2; +y+=4; // now we're going to draw the boxes s = sf->start; int lastE = -1; int lastS = -1; int offY = y; int lineHeight = tg->lineHeight ; int tStart, tEnd, qStart; int qs, qe; int heightPer = tg->heightPer; int lastX = -1,lastY = y; int lastQEnd = 0; int lastLevel = -1; int e;