a3ebab6b88099fcd6e2f7dafcb393677ef97fdc4
tdreszer
  Fri Aug 5 10:59:18 2011 -0700
Restricted some map items to not cover width of image but only width of label or width of item.  This should make dragScroll more obvious.
diff --git src/hg/hgTracks/netTrack.c src/hg/hgTracks/netTrack.c
index e6a1a92..955a834 100644
--- src/hg/hgTracks/netTrack.c
+++ src/hg/hgTracks/netTrack.c
@@ -255,32 +255,34 @@
 
     /* Compute a few other positional things for recursive routine. */
     rHeightPer = tg->heightPer;
     rMidLineOff = rHeightPer/2;
     rIsFull = (vis == tvFull || vis == tvPack || vis == tvSquish);
     if (rIsFull)
 	rNextLine = tg->lineHeight;
     else
 	rNextLine = 0;
     rScale = scaleForPixels(width);
 
     /* Recursively do main bit of work. */
     rNetDraw(tg, hvg, net->fillList, 1, yOff);
     chainNetFree(&net);
     }
+#ifndef IMAGEv2_DRAG_SCROLL
 if (vis == tvDense)
     mapBoxToggleVis(hvg, xOff, yOff, width, tg->heightPer, tg);
+#endif///ndef IMAGEv2_DRAG_SCROLL
 }
 
 static int netTotalHeight(struct track *tg, enum trackVisibility vis)
 /* A copy of tgFixedTotalHeightNoOverflow() with visibility forced */
 {
 int ret = 0;
 switch (vis)
     {
     case tvSquish:
 	ret = tgFixedTotalHeightOptionalOverflow(tg, tvFull, (tl.fontHeight/3)+1, (tl.fontHeight/3), FALSE);
 	break;
     case tvPack:
 	ret = tgFixedTotalHeightOptionalOverflow(tg, tvFull, (tl.fontHeight/2)+1, (tl.fontHeight/2), FALSE);
 	break;
     case tvFull: