dcceb7569cea2c0e776a24e5892199a5e709855d chmalee Tue Dec 19 16:06:53 2023 -0800 Fix a major tooltip bug, after the timeout ended for the mouse to stop moving, need to re-trigger the most recent mouseover event so a new tooltip can show up, refs #32697 diff --git src/hg/lib/hui.c src/hg/lib/hui.c index c9f035c..54eabdd 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -9282,31 +9282,31 @@ static bool mouseOverJsDone = FALSE; void printInfoIcon(char *mouseover) /* Print info icon (i) with explanatory text on mouseover */ { // see https://www.svgrepo.com/svg/524660/info-circle printf("<span title=\"%s\">", mouseover); puts("<svg style='height:1.1em; vertical-align:top' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'>"); puts("<circle cx='12' cy='12' r='10' stroke='#1C274C' stroke-width='1.5'/>"); puts("<path d='M12 17V11' stroke='#1C274C' stroke-width='1.5' stroke-linecap='round'/>"); puts("<circle cx='1' cy='1' r='1' transform='matrix(1 0 0 -1 11 9)' fill='#1C274C'/>"); puts("</svg>"); puts("</span>"); if (!mouseOverJsDone) { - jsInline("newTooltips();\n"); + jsInline("convertTitleTagsToMouseovers();\n"); mouseOverJsDone = TRUE; } } void hCompositeUi(char *db, struct cart *cart, struct trackDb *tdb, char *primarySubtrack, char *fakeSubmit, char *formName) // UI for composite tracks: subtrack selection. If primarySubtrack is // non-NULL, don't allow it to be cleared and only offer subtracks // that have the same type. If fakeSubmit is non-NULL, add a hidden // var with that name so it looks like it was pressed. { bool hasSubgroups = (trackDbSetting(tdb, "subGroup1") != NULL); boolean isMatrix = dimensionsExist(tdb); boolean viewsOnly = FALSE;