From b7fc886ae65afa1c41430e59ba1fcd3ff86adf4b Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 18 Feb 2011 17:30:49 +0000 Subject: [PATCH] fix scrolltoposition behaviour --- src/jalview/appletgui/SeqPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index dfc236e..29164bb 100755 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -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); -- 1.7.10.2