9a22e50608d95a5fdb8c3d8c09ee35db8fa129ea jnavarr5 Wed May 13 17:04:28 2026 -0700 Moving the length of the Exon/Intron to the other Exon/Intron line. Adding a space between the length and bp, refs #37439 diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index fba5a04e642..53efc363a7e 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -3098,33 +3098,33 @@ } else // either an intron, or else an exon zoomed out too far for codons (or no codons) { // if you change this text, make sure you also change hgTracks.js:mouseOverToLabel // if you change the text below, also change hgTracks:mouseOverToExon char *posNote = ""; char *exonOrIntron = "Intron"; if (isExon) { posNote = "Codons: Zoom in to show cDNA position
"; exonOrIntron = "Exon"; } safef(mouseOverText, sizeof(mouseOverText), "Transcript: %s
%s" - "Strand: %c    Length: %dbp
%s: %s %d of %d
%s", - existingText, posNote, strandChar, e - s, exonOrIntron, exonIntronText, - exonIntronNumber, numExonIntrons, phaseText); + "Strand: %c
%s: %s %d of %d  Length: %d bp
%s", + existingText, posNote, strandChar, exonOrIntron, exonIntronText, + exonIntronNumber, numExonIntrons, e - s, phaseText); // temporarily remove the mouseOver from the lf, since linkedFeatureMapItem will always // prefer a lf->mouseOver over the itemName char *oldMouseOver = lf->mouseOver; lf->mouseOver = NULL; tg->mapItem(tg, hvg, item, mouseOverText, tg->mapItemName(tg, item), sItem, eItem, sx, y, w, heightPer); // and restore the old mouseOver lf->mouseOver = oldMouseOver; picStart = ex; // prevent pileups. is this right? add 1? does it work? // JC: Why do we care about pileups? First mapbox drawn wins. } } }