68137bd66978c21a5d168b5216f07f03caf34f3c chmalee Fri Oct 10 15:10:09 2025 -0700 Also create the 'x' icons with display:none so mouseover/mouseleave and track drag work correctly, refs #34420 diff --git src/hg/hgTracks/imageV2.c src/hg/hgTracks/imageV2.c index 25dbf9b6fcd..f71933dd1d9 100644 --- src/hg/hgTracks/imageV2.c +++ src/hg/hgTracks/imageV2.c @@ -1909,34 +1909,34 @@ } // make quickLifted tracks have a green left button struct trackDb *tdb = imgTrack->tdb; struct trackHub *tHub = NULL; char *grpName = NULL; if (tdb != NULL) grpName = tdb->grp; if (grpName != NULL) tHub = grabHashedHub(grpName); char *btnType = "btn"; if ((tHub != NULL) && startsWith("Quicklift", tHub->longLabel)) btnType = "btnGreen"; hPrintf(" width:9px; display:none;' class='%s %sbtn btnN %s'>", trackName,(slice->link == NULL ? "inset " : ""), btnType); - // insert the gear spans with display: hide + // insert the gear spans with display: none if (cfgOptionBooleanDefault("greyBarIcons", FALSE)) { - hPrintf("", name); + hPrintf("", name); } hPrintf("
"); } else hPrintf("width:%dpx;'>",slice->width); } } // FF does not support newline code and '...' looks bad without newlines #define NEWLINE_ENCODED " " #define NEWLINE_NOT_SUPPORTED " - " #define NEWLINE_TO_USE(browser) ((browser) == btFF ? NEWLINE_NOT_SUPPORTED : NEWLINE_ENCODED) #define ELLIPSIS_TO_USE(browser) ((browser) == btFF ? "" : "...") static void sliceAndMapDraw(struct imgBox *imgBox,struct imgTrack *imgTrack, @@ -2150,56 +2150,60 @@ if (imgBox->showSideLabel && imgBox->plusStrand) { // button safef(name, sizeof(name), "btn_%s", trackName); hPrintf("