From: jprocter Date: Wed, 12 May 2010 09:36:39 +0000 (+0000) Subject: patch for JAL-528 X-Git-Tag: Release_2_5_1~43 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=54bfacde05b8df3d0dde12c9573029c685ca1f41;p=jalview.git patch for JAL-528 --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index f92f39b..59d7b97 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -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; diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 98eab66..f3502a6 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -611,6 +611,7 @@ public class SeqPanel extends JPanel implements MouseListener, if (av.followHighlight) { ap.scrollToPosition(results, false); + seqCanvas.revalidate(); } seqCanvas.highlightSearchResults(results); }