10a22ce348c3ef79e80f1c335bf08ee07aac3d6b angie Fri May 6 16:45:23 2011 -0700 pgSnp's extra mapbox over the bases covered only the bottom one;tweaked it to cover both top and bottom. diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 2627927..c43a49a 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -9499,31 +9499,31 @@ reverseComplement(allele[1], strlen(allele[1])); pgSnpTextRight(display, hvg, x1-allWidth-2, yCopy, allWidth, allHeight, color, font, allele[1], y, tg->height); } else { if (cartUsualBooleanDb(cart, database, COMPLEMENT_BASES_VAR, FALSE)) complement(allele[1], strlen(allele[1])); spreadBasesString(hvg, x1, yCopy, w, allHeight, MG_WHITE, font, allele[1], strlen(allele[1]), FALSE); } } /* map box for link, when text outside box */ if (allWidth >= w || sameString(display, "freq")) { tg->mapItem(tg, hvg, item, tg->itemName(tg, item), tg->mapItemName(tg, item), myItem->chromStart, myItem->chromEnd, - x1-allWidth-2, yCopy, allWidth+w, tg->heightPer); + x1-allWidth-2, y+1, allWidth+w, tg->heightPer); } withIndividualLabels = FALSE; //turn labels off, done already } int pgSnpHeight (struct track *tg, enum trackVisibility vis) { int f = tl.fontHeight; int t = f + 1; if (vis != tvDense) { f = f*2; t = t*2; } return tgFixedTotalHeightOptionalOverflow(tg,vis, t, f, FALSE); }