From: jprocter Date: Fri, 18 Feb 2011 17:30:49 +0000 (+0000) Subject: fix scrolltoposition behaviour X-Git-Tag: Release_2_7~239 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b7fc886ae65afa1c41430e59ba1fcd3ff86adf4b;p=jalview.git fix scrolltoposition behaviour --- 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);