(JAL-986) rendering to imageMap counts as rendering offscreen
authorjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 9 Nov 2011 17:06:15 +0000 (17:06 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 9 Nov 2011 17:06:31 +0000 (17:06 +0000)
src/jalview/gui/AlignmentPanel.java

index 0155a67..95ef295 100644 (file)
@@ -1173,7 +1173,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
   {
     // /////ONLY WORKS WITH NONE WRAPPED ALIGNMENTS
     // ////////////////////////////////////////////
-    int idWidth = getVisibleIdWidth(true);
+    int idWidth = getVisibleIdWidth(false);
     FontMetrics fm = getFontMetrics(av.getFont());
     int scaleHeight = av.charHeight + fm.getDescent();