src/hg/hgTracks/imageV2.c 1.11
1.11 2009/09/24 22:15:27 tdreszer
Removed a define dependency
Index: src/hg/hgTracks/imageV2.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/imageV2.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 4 -r1.10 -r1.11
--- src/hg/hgTracks/imageV2.c 14 Sep 2009 15:22:35 -0000 1.10
+++ src/hg/hgTracks/imageV2.c 24 Sep 2009 22:15:27 -0000 1.11
@@ -676,9 +676,13 @@
the new chromStart,chromEnd and imgWidth are returned as OUTs, while the portal becomes the initial defined size
returns TRUE if successfully defined as having a portal */
{
if( (int)imageMultiple == 0)
+#ifdef IMAGEv2_DRAG_SCROLL_SZ
imageMultiple = IMAGEv2_DRAG_SCROLL_SZ;
+#else//ifndef IMAGEv2_DRAG_SCROLL_SZ
+ imageMultiple = 1;
+#endif//ndef IMAGEv2_DRAG_SCROLL_SZ
imgBox->portalStart = imgBox->chromStart;
imgBox->portalEnd = imgBox->chromEnd;
imgBox->portalWidth = imgBox->width - imgBox->sideLabelWidth;