0301e7107474990ca5b3328ad5f622b018fb481c
kate
  Thu Jul 6 13:14:00 2017 -0700
Split label into left (gene) and right (tissues). refs #15646

diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index 3c3835c..e689c59 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -5410,31 +5410,31 @@
 while ((row = sqlNextRow(sr)) != NULL)
     {
     struct bed *bed = bedLoad(row+rowOffset);
     struct bedPlusLabel *item = needMoreMem(bed, sizeof(struct bed), sizeof(struct bedPlusLabel));
     if (tg->visibility == tvPack || tg->visibility == tvFull)
 	item->label = cloneString(func(item->bed.name));
     slAddHead(&itemList, item);
     }
 sqlFreeResult(&sr);
 hFreeConn(&conn);
 slReverse(&itemList);
 slSort(&itemList, bedCmp);
 tg->items = itemList;
 }
 
-static void bedPlusLabelDrawAt(struct track *tg, void *item, struct hvGfx *hvg, int xOff, int y,
+void bedPlusLabelDrawAt(struct track *tg, void *item, struct hvGfx *hvg, int xOff, int y,
 			       double scale, MgFont *font, Color color, enum trackVisibility vis)
 /* Draw a single bed item at position.  If vis is full, draw the associated label to the left
  * of the item. */
 {
 struct bedPlusLabel *bpl = item;
 struct bed *bed = item;
 int heightPer = tg->heightPer;
 int s = max(bed->chromStart, winStart), e = min(bed->chromEnd, winEnd);
 if (s > e)
     return;
 int x1 = round((s-winStart)*scale) + xOff;
 int x2 = round((e-winStart)*scale) + xOff;
 int w = x2 - x1;
 if (w < 1)
     w = 1;