From c93e8aa711b9a282cb9ab78b7c2957736164606c Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 17 Nov 2005 15:20:31 +0000 Subject: [PATCH] If overview is visible, update it --- src/jalview/gui/AlignmentPanel.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index ecdf741..e5d3db1 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -532,6 +532,13 @@ public class AlignmentPanel extends GAlignmentPanel { setScrollValues(av.getStartRes(), av.getStartSeq()); } + + + if( this.getVisibleRect().getBounds() == g.getClipBounds() ) + { + if (overviewPanel != null) + overviewPanel.updateOverviewImage(); + } } /** -- 1.7.10.2