From: amwaterhouse Date: Thu, 17 Nov 2005 15:20:31 +0000 (+0000) Subject: If overview is visible, update it X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c93e8aa711b9a282cb9ab78b7c2957736164606c;p=jalview.git If overview is visible, update it --- 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(); + } } /**