3351b7938091d8bccaea76ef006d729f5e169a4f
braney
  Tue Sep 24 17:23:10 2024 -0700
if we go over the 32k PNG size limit, put all the tracks that can wiggle
into wiggle mode and try again

diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h
index 06589d1..9841f57 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. */
     };