logic bug for auto scrolling
authorjprocter <Jim Procter>
Fri, 21 Jan 2011 17:08:29 +0000 (17:08 +0000)
committerjprocter <Jim Procter>
Fri, 21 Jan 2011 17:08:29 +0000 (17:08 +0000)
src/jalview/gui/AlignmentPanel.java

index d06251c..74f6911 100755 (executable)
@@ -324,11 +324,11 @@ public class AlignmentPanel extends GAlignmentPanel implements
         scrollToWrappedVisible(start);
       }
     }
-    if (!redrawOverview && overviewPanel != null)
+    if (redrawOverview && overviewPanel != null)
     {
       overviewPanel.setBoxPosition();
     }
-    paintAlignment(!redrawOverview);
+    paintAlignment(redrawOverview);
     return true;
   }