ab5f6fcc68340efac0c30cd90058d083594943ef
hiram
  Tue Mar 24 15:00:46 2026 -0700
correctly manage gcOnFly visibility from click to click refs #35958

diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h
index c5a7ef3d282..06e87f5e59c 100644
--- src/hg/hgTracks/hgTracks.h
+++ src/hg/hgTracks/hgTracks.h
@@ -1202,34 +1202,34 @@
 /* Return linked features from range of table with the scores scaled appropriately */
 
 void ctWigLoadItems(struct track *tg);
 /*	load custom wiggle track data	*/
 void wigLoadItems(struct track *tg);
 /*	load wiggle track data from database	*/
 void wigMethods(struct track *track, struct trackDb *tdb,
                                 int wordCount, char *words[]);
 /* Set up wig pointers and do some other precalculations on a wig type track. */
 void bedGraphMethods(struct track *track, struct trackDb *tdb,
 	int wordCount, char *words[]);
 void bigWigMethods(struct track *track, struct trackDb *tdb,
 	int wordCount, char *words[]);
 /* Make track group for wig - wiggle tracks. */
 
-struct track *gc5BaseOnTheFlyTg(struct cart *cart, char *vis);
+struct track *gc5BaseOnTheFlyTg(struct cart *cart);
 /* Create an on-the-fly GC percent track computed directly from
- *     from genome sequence.  vis is the visibility string from the
- *     cart (e.g. "hide", "dense", "full").
+ *     genome sequence.  Default visibility is dense; the cart
+ *     override happens later in the getTrackList() visibility loop.
  */
 
 void mathWigMethods(struct track *track, struct trackDb *tdb, 
 	int wordCount, char *words[]);
 /* mathWig load and draw methods. */
 
 void bigRmskMethods(struct track *track, struct trackDb *tdb,
                                 int wordCount, char *words[]);
 /* Set up bigRmsk methods. */
 
 void commonBigBedMethods(struct track *track, struct trackDb *tdb,
                                 int wordCount, char *words[]);
 /* Set up common bigBed methods used by several track types that depend on the bigBed format. */
 
 void bigBedMethods(struct track *track, struct trackDb *tdb,