fix scrolltoposition behaviour
authorjprocter <Jim Procter>
Fri, 18 Feb 2011 17:30:49 +0000 (17:30 +0000)
committerjprocter <Jim Procter>
Fri, 18 Feb 2011 17:30:49 +0000 (17:30 +0000)
src/jalview/appletgui/SeqPanel.java

index dfc236e..29164bb 100755 (executable)
@@ -641,9 +641,9 @@ public class SeqPanel extends Panel implements MouseMotionListener,
   {
     if (av.followHighlight)
     {
-      if (ap.scrollToPosition(results, false))
+      if (ap.scrollToPosition(results, true))
       {
-        // ap.invalidate();
+        ap.alignFrame.repaint();
       }
     }
     seqCanvas.highlightSearchResults(results);