185a4f642530a98b65189bf218d412f382462b8c braney Mon Jun 14 11:06:10 2021 -0700 fix clicks on squished item tracks when in nextExon mode #27715 diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index a007b9f..a0686cf 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -4175,38 +4175,36 @@ } if (compat) { // draw labeled exon/intron maps with exon/intron numbers linkedFeaturesItemExonMaps(tg, hvg, item, scale, y, heightPer, s, e, lButton, rButton, buttonW); x2 = x1; w = x2-textX; } // if not already mapped, pick up the label if (!(lButton && compat)) { tg->mapItem(tg, hvg, item, tg->itemName(tg, item), tg->mapItemName(tg, item), s, e, textX, y, w, heightPer); } } -#ifdef NOTYET else if (vis == tvSquish) { int w = x2-textX; tg->mapItem(tg, hvg, item, tg->itemName(tg, item), tg->mapItemName(tg, item), s, e, textX, y, w, heightPer); } -#endif else if (vis == tvFull) { int geneMapBoxX = insideX; int geneMapBoxW = insideWidth; /* Draw the first gene label mapbox, in the left margin. */ int trackPastTabX = (withLeftLabels ? trackTabWidth : 0); tg->mapItem(tg, hvg, item, tg->itemName(tg, item), tg->mapItemName(tg, item), s, e, trackPastTabX, y, insideX - trackPastTabX, heightPer); /* Depending on which button mapboxes we drew, draw the remaining mapbox. */ if (lButton) { geneMapBoxX += buttonW; geneMapBoxW -= buttonW; } if (rButton)