From a2b3bbd907fcd8c3068d52fed8273b717f91d548 Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 9 Nov 2011 17:06:15 +0000 Subject: [PATCH] (JAL-986) rendering to imageMap counts as rendering offscreen --- src/jalview/gui/AlignmentPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 0155a67..95ef295 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -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(); -- 1.7.10.2