src/hg/hgTracks/cytoBandTrack.c 1.13

1.13 2010/01/08 23:52:49 markd
fixed use on incorrect variable that caused ideogram to be trancated when label width was increased
Index: src/hg/hgTracks/cytoBandTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/cytoBandTrack.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -B -U 4 -r1.12 -r1.13
--- src/hg/hgTracks/cytoBandTrack.c	9 Dec 2009 03:28:58 -0000	1.12
+++ src/hg/hgTracks/cytoBandTrack.c	8 Jan 2010 23:52:49 -0000	1.13
@@ -131,9 +131,9 @@
 heightPer = tg->heightPer;
 yOff = yOff;
 
 /* Time to draw the bands. */
-hvGfxSetClip(hvg, xOff, yOff, insideWidth, tg->height);
+hvGfxSetClip(hvg, xOff, yOff, width, tg->height);
 genericDrawItems(tg, 0, chromSize, hvg, xOff+xBorder, yOff+5, width-(2*xBorder), font, color, tvDense);
 
 x1 = round((winStart)*scale) + xOff + xBorder -1;
 x2 = round((winEnd)*scale) + xOff + xBorder -1;