365c52681ce18c77b192cb96bd5c62ba8c3dcfb1 braney Tue Sep 2 12:28:16 2025 -0700 I'm changing the way that click-throughs on the Warning track work. diff --git src/hg/hgTracks/quickLift.c src/hg/hgTracks/quickLift.c index 73f030e764a..6bd27e445d6 100644 --- src/hg/hgTracks/quickLift.c +++ src/hg/hgTracks/quickLift.c @@ -73,32 +73,32 @@ boolean drawTriangle = FALSE; if (startsWith("bigQuickLiftChain", tg->tdb->type)) drawTriangle = TRUE; char *liftDb = trackDbSetting(tg->tdb, "quickLiftDb"); struct quickLiftRegions *regions = quickLiftGetRegions(database, liftDb, quickLiftFile, chromName, seqStart, seqEnd); struct quickLiftRegions *hr = regions; int fontHeight = mgFontLineHeight(tl.font); int height = tg->height; if (!drawTriangle && isCenterLabelIncluded(tg)) { height += fontHeight; yOff -= fontHeight; } -if (drawTriangle && (hr == NULL)) // if there are no differences make a map for the whole track - mapBoxHc(hvg, seqStart, seqEnd, xOff, yOff, width, tg->height, tg->track, hr->id, "identical"); +//if (drawTriangle && (hr == NULL)) // if there are no differences make a map for the whole track + //mapBoxHc(hvg, seqStart, seqEnd, xOff, yOff, width, tg->height, tg->track, hr->id, "identical"); int pos = xOff; char * lastId = 0; for(; hr; hr = hr->next) { unsigned int hexColor = highlightColors[hr->type]; double scale = scaleForWindow(width, seqStart, seqEnd); int x1 = xOff + scale * (hr->chromStart - seqStart); int w = scale * (hr->chromEnd - hr->chromStart); if (w == 0) w = 1; hvGfxSetClip(hvg, xOff, yOff, width, height); // we're drawing in the center label at the moment int startX, endX; char mouseOver[4096];