c32d6e08d19a0b8ad7ece12aab39d0ba0be7a9e1 chmalee Mon Dec 1 16:26:27 2025 -0800 hgTracks tooltips use the data-tooltip attribute on the area element if present, falling back to the title attribute. Makes title attributes for (hopefully all) tracks with special tooltips put the tooltip string into the data-tooltip attribute instead of the title attribute, refs #35756 diff --git src/hg/hgTracks/decorator.c src/hg/hgTracks/decorator.c index 30495f76855..c085a964d15 100644 --- src/hg/hgTracks/decorator.c +++ src/hg/hgTracks/decorator.c @@ -1315,31 +1315,31 @@ { // copied from mapBoxHgcOrHgGene // This was about Tim's project for dragging the image bringing in content from // "off the screen", I think. That work was never finished. #ifdef IMAGEv2_SHORT_MAPITEMS if (!revCmplDisp && startX < insideX && endX > insideX) startX = insideX; else if (revCmplDisp && startX < insideWidth && endX > insideWidth) endX = insideWidth - 1; #endif//def IMAGEv2_SHORT_MAPITEMS if (isOverlay) genericMapItem(tg, hvg, item, d->mouseOver, tg->mapItemName(tg, item), tg->itemStart(tg,item), tg->itemEnd(tg,item), startX, y, endX-startX, heightPer); else - imgTrackAddMapItem(curImgTrack,"noLink",d->mouseOver, startX, y, endX, y+heightPer, NULL); + imgTrackAddMapItem(curImgTrack,"noLink",d->mouseOver, startX, y, endX, y+heightPer, NULL, NULL); } else { hPrintf("\n", startX, y, endX, y+heightPer, d->mouseOver); } } void drawDecoration(struct decoration *d, struct hvGfx *hvg, double scale, int xOff, int y, int heightPer, MgFont *font, boolean filled) /* Draw a decoration at the provided position. If filled, draw a solid block/glyph in the * decoration's fillColor. If not filled, draw the outline of the block/glyph in the * decoration's primary color. */ {