SetAnnotationVisible - ignore if wrapped
authoramwaterhouse <Andrew Waterhouse>
Thu, 22 Sep 2005 16:04:51 +0000 (16:04 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 22 Sep 2005 16:04:51 +0000 (16:04 +0000)
src/jalview/gui/AlignmentPanel.java

index 8f5c74c..ac87ebe 100755 (executable)
@@ -289,8 +289,11 @@ public class AlignmentPanel extends GAlignmentPanel
      */\r
     public void setAnnotationVisible(boolean b)\r
     {\r
+      if (!av.wrapAlignment)\r
+      {\r
         annotationSpaceFillerHolder.setVisible(b);\r
         annotationScroller.setVisible(b);\r
+      }\r
     }\r
 \r
     /**\r