96dd2f204c981155353837647734bc62b96ef85a braney Tue Oct 8 15:10:15 2024 -0700 some big* tracks can't wiggle. Causes a problem with images over 32k diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 1af6c89..8507469 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -11499,31 +11499,35 @@ static int subtrackCount(struct track *trackList) /* Count the number of visible subtracks in (sub)trackList. */ { struct track *subtrack; int ct = 0; for (subtrack = trackList; subtrack; subtrack = subtrack->next) if (isSubtrackVisible(subtrack)) ct++; return ct; } static boolean canWiggle(struct track *tg) /* Is this a track type that can wiggle. */ { -return tg->isBigBed || startsWith("vcfTabix", tg->tdb->type); +return (tg->isBigBed && + !startsWith("bigInteract",tg->tdb->type) && + !startsWith("bigMaf",tg->tdb->type) && + !startsWith("bigLolly",tg->tdb->type)) + || startsWith("vcfTabix", tg->tdb->type); } enum trackVisibility limitVisibility(struct track *tg) /* Return default visibility limited by number of items and * by parent visibility if part of a coposite track. * This also sets tg->height. */ { if (forceWiggle && canWiggle(tg)) { tg->limitWiggle = TRUE; } if (!tg->limitedVisSet) { tg->limitedVisSet = TRUE; // Prevents recursive loop!