JAL-2778 tidy
[jalview.git] / src / jalview / gui / AnnotationPanel.java
index 0d86b07..cf51781 100755 (executable)
@@ -1015,7 +1015,10 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
 
     fastPaint = true;
 
-    av.getAlignPanel().alignFrame.repaint();
+    // Call repaint on alignment panel so that repaints from other alignment
+    // panel components can be aggregated. Otherwise performance of the overview
+    // window and others may be adversely affected.
+    av.getAlignPanel().repaint();
   }
 
   private volatile boolean lastImageGood = false;