If overview is visible, update it
authoramwaterhouse <Andrew Waterhouse>
Thu, 17 Nov 2005 15:20:31 +0000 (15:20 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 17 Nov 2005 15:20:31 +0000 (15:20 +0000)
src/jalview/gui/AlignmentPanel.java

index ecdf741..e5d3db1 100755 (executable)
@@ -532,6 +532,13 @@ public class AlignmentPanel extends GAlignmentPanel
     {\r
       setScrollValues(av.getStartRes(), av.getStartSeq());\r
     }\r
+\r
+\r
+    if( this.getVisibleRect().getBounds() == g.getClipBounds() )\r
+    {\r
+      if (overviewPanel != null)\r
+        overviewPanel.updateOverviewImage();\r
+    }\r
   }\r
 \r
   /**\r