src/hg/hgTracks/simpleTracks.c 1.103

1.103 2009/09/16 17:40:45 fanhsu
Updated color logic for REST per Andy's suggestion.
Index: src/hg/hgTracks/simpleTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/simpleTracks.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -b -B -U 4 -r1.102 -r1.103
--- src/hg/hgTracks/simpleTracks.c	14 Sep 2009 17:18:52 -0000	1.102
+++ src/hg/hgTracks/simpleTracks.c	16 Sep 2009 17:40:45 -0000	1.103
@@ -10290,13 +10290,13 @@
 struct bed *el = item;
 
 if (strstr(el->name, "ESC_only"))
     {
-    return hvGfxFindColorIx(hvg, 255, 0, 0);
+    return tg->ixAltColor;
     }
 else
     {
-    return hvGfxFindColorIx(hvg, 0, 0, 200);
+    return tg->ixColor;
     }
 }
 
 void RESTMethods (struct track *tg)