JAL-1628 drop getShowAnnotation accessor in favour of isShowAnnotation in AlignViewpo...
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index e859fb1..6517e70 100644 (file)
@@ -122,7 +122,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
 
     setScrollValues(0, 0);
 
-    setAnnotationVisible(av.getShowAnnotation());
+    setAnnotationVisible(av.isShowAnnotation());
 
     hscroll.addAdjustmentListener(this);
     vscroll.addAdjustmentListener(this);
@@ -729,7 +729,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
         getSeqPanel().seqCanvas.fastPaint(scrollX, scrollY);
         getScalePanel().repaint();
 
-        if (av.getShowAnnotation() && scrollX != 0)
+        if (av.isShowAnnotation() && scrollX != 0)
         {
           getAnnotationPanel().fastPaint(scrollX);
         }
@@ -1249,7 +1249,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
       }
 
     }
-    else if (av.getShowAnnotation())
+    else if (av.isShowAnnotation())
     {
       height += getAnnotationPanel().adjustPanelHeight() + 3;
     }