25d11f512ac8d8b6605b81a770e0a6d9b121ec12 braney Thu Sep 26 13:31:58 2024 -0700 Revert "Revert "if we go over the 32k PNG size limit, put all the tracks that can wiggle"" This reverts commit d7861537f514c72ecd89dd51389794cd8f07baef. diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h index 98f8766..477f866 100644 --- src/hg/hgTracks/hgTracks.h +++ src/hg/hgTracks/hgTracks.h @@ -327,30 +327,31 @@ char *database; /* Name of database */ char *chromName; int winStart; // in bases int winEnd; int insideX; // in pixels int insideWidth; long virtStart; // in bases on virt chrom long virtEnd; boolean regionOdd; // window comes from odd region? or even? for window separator coloring struct track *trackList; // track list for window }; +extern boolean forceWiggle; // we've run out of space so all tracks become coverage tracks typedef void (*TrackHandler)(struct track *tg); int trackPriCmp(const void *va, const void *vb); /* Compare for sort based on priority */ boolean trackIsCompositeWithSubtracks(struct track *track); /* Temporary function until all composite tracks point to their own children */ struct trackRef /* A reference to a track. */ { struct trackRef *next; /* Next in list. */ struct track *track; /* Underlying track. */ };