patch for JAL-528
authorjprocter <Jim Procter>
Wed, 12 May 2010 09:36:39 +0000 (09:36 +0000)
committerjprocter <Jim Procter>
Wed, 12 May 2010 09:36:39 +0000 (09:36 +0000)
src/jalview/gui/AlignmentPanel.java
src/jalview/gui/SeqPanel.java

index f92f39b..59d7b97 100755 (executable)
@@ -283,6 +283,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
       }
       int start = r[0];
       int end = r[1];
+      // System.err.println("Seq : "+seqIndex+" Scroll to "+start+","+end); // DEBUG
       if (start < 0)
       {
         return false;
index 98eab66..f3502a6 100755 (executable)
@@ -611,6 +611,7 @@ public class SeqPanel extends JPanel implements MouseListener,
     if (av.followHighlight)
     {
       ap.scrollToPosition(results, false);
+      seqCanvas.revalidate();
     }
     seqCanvas.highlightSearchResults(results);
   }