From 83b24eab35785ea8473763ea5ed175a1fa63a4d1 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 22 Sep 2005 16:04:51 +0000 Subject: [PATCH] SetAnnotationVisible - ignore if wrapped --- src/jalview/gui/AlignmentPanel.java | 3 +++ 1 file changed, 3 insertions(+) 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); + } } /** -- 1.7.10.2