From: jprocter Date: Wed, 9 Nov 2011 17:06:15 +0000 (+0000) Subject: (JAL-986) rendering to imageMap counts as rendering offscreen X-Git-Tag: Archived_Release_2_7~17^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a2b3bbd907fcd8c3068d52fed8273b717f91d548;p=jalview.git (JAL-986) rendering to imageMap counts as rendering offscreen --- 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();