src/hg/hgTracks/wigTrack.c 1.99
1.99 2009/12/09 03:30:23 tdreszer
Checkin for FLAT_TRACKS for dragReorder. Also several other features worked out or cleaned up
Index: src/hg/hgTracks/wigTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/wigTrack.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -b -B -U 4 -r1.98 -r1.99
--- src/hg/hgTracks/wigTrack.c 30 Nov 2009 23:01:32 -0000 1.98
+++ src/hg/hgTracks/wigTrack.c 9 Dec 2009 03:30:23 -0000 1.99
@@ -15,8 +15,9 @@
#ifndef GBROWSE
#include "customTrack.h"
#endif /* GBROWSE */
#include "wigCommon.h"
+#include "imageV2.h"
static char const rcsid[] = "$Id$";
#define SMALLBUF 128
@@ -1036,8 +1037,12 @@
else
#endif /* GBROWSE */
itemName = cloneString(tg->mapName);
+#ifdef FLAT_TRACK_LIST
+ // Don't bother if we are flat, imgV2, dense and a child.
+ if(!theImgBox || tg->limitedVis != tvDense || !tdbIsCompositeChild(tg->tdb))
+#endif//def FLAT_TRACK_LIST
mapBoxHc(hvg, seqStart, seqEnd, xOff, yOff, width, tg->height, tg->mapName,
itemName, NULL);
freeMem(itemName);
}