6200a69f0871767cd950526e09448503331e9d51
jcasper
  Thu Mar 23 05:46:57 2023 -0700
Short match track was invisible, refs #30866

diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index fad31de..0b30103 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -1668,30 +1668,32 @@
 {
 if (sameString(type, "red"))
     colorIx = MG_RED;
 else if (sameString(type, "green"))
     colorIx = MG_GREEN;
 else if (sameString(type, "blue"))
     colorIx = MG_BLUE;
 return colorIx;
 }
 
 struct track *trackNew()
 /* Allocate track . */
 {
 struct track *tg;
 AllocVar(tg);
+tg->color = colorIxToRgb(MG_BLACK);
+tg->altColor = colorIxToRgb(MG_BLACK);
 return tg;
 }
 
 int simpleFeatureCmp(const void *va, const void *vb)
 /* Compare to sort based on start. */
 {
 const struct simpleFeature *a = *((struct simpleFeature **)va);
 const struct simpleFeature *b = *((struct simpleFeature **)vb);
 return a->start - b->start;
 }
 
 int linkedFeaturesCmp(const void *va, const void *vb)
 /* Compare to sort based on start. */
 {
 const struct linkedFeatures *a = *((struct linkedFeatures **)va);