5fef9ecfe121867dc6bd750a6a01b46150bb868e hiram Tue Nov 3 15:46:21 2020 -0800 dirty checkin for transition to click through to description page working and streamline the popUp text window definition refs #21980 diff --git src/hg/hgTracks/wigTrack.c src/hg/hgTracks/wigTrack.c index ecbaea9..39887fb 100644 --- src/hg/hgTracks/wigTrack.c +++ src/hg/hgTracks/wigTrack.c @@ -1474,43 +1474,40 @@ { jsonWriteObjectStart(jw, NULL); jsonWriteNumber(jw, "x1", (long long)mouseOverData[i].x1); jsonWriteNumber(jw, "x2", (long long)mouseOverData[i].x2); jsonWriteDouble(jw, "v", mouseOverData[i].value); jsonWriteObjectEnd(jw); } jsonWriteListEnd(jw); jsonWriteObjectEnd(jw); fputs(jw->dy->string,trashJson); carefulClose(&trashJson); mouseOverIdx = -1; freez(&mouseOverData); if (! beenHereDoneThat ) { - hPrintf("
\n"); - hPrintf("
\n"); - hPrintf(" \n"); - hPrintf(" \n"); - hPrintf("
\n"); + hPrintf("
\n"); + hPrintf("
\n"); // hPrintf("

. . . mouseDbg

\n"); beenHereDoneThat = TRUE; } // hidden element to pass along jsonData file name and also the trigger // that this track has data to display. hPrintf("
\n", tg->track, tg->track, jsonData.forCgi); } -else + wigMapSelf(tg, hvg, seqStart, seqEnd, xOff, yOff, width); } struct preDrawContainer *wigLoadPreDraw(struct track *tg, int seqStart, int seqEnd, int width) /* Do bits that load the predraw buffer tg->preDrawContainer. */ { /* Just need to do this once... */ if (tg->preDrawContainer) return tg->preDrawContainer; struct wigItem *wi; double pixelsPerBase = scaleForPixels(width); double basesPerPixel = 1.0; int itemCount = 0; char *currentFile = NULL;