From f9eda693703846de8930781126d6c07a119dde73 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 21 Jan 2011 17:08:29 +0000 Subject: [PATCH] logic bug for auto scrolling --- src/jalview/gui/AlignmentPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index d06251c..74f6911 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -324,11 +324,11 @@ public class AlignmentPanel extends GAlignmentPanel implements scrollToWrappedVisible(start); } } - if (!redrawOverview && overviewPanel != null) + if (redrawOverview && overviewPanel != null) { overviewPanel.setBoxPosition(); } - paintAlignment(!redrawOverview); + paintAlignment(redrawOverview); return true; } -- 1.7.10.2