From: amwaterhouse Date: Thu, 22 Sep 2005 16:04:51 +0000 (+0000) Subject: SetAnnotationVisible - ignore if wrapped X-Git-Tag: Release_2_06~16 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=83b24eab35785ea8473763ea5ed175a1fa63a4d1;p=jalview.git SetAnnotationVisible - ignore if wrapped --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 8f5c74c..ac87ebe 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -289,8 +289,11 @@ public class AlignmentPanel extends GAlignmentPanel */ public void setAnnotationVisible(boolean b) { + if (!av.wrapAlignment) + { annotationSpaceFillerHolder.setVisible(b); annotationScroller.setVisible(b); + } } /**