JAL-2634 Make overview box full height when alignment is wrapped bug/JAL-2634
authorkiramt <k.mourao@dundee.ac.uk>
Mon, 31 Jul 2017 10:01:55 +0000 (12:01 +0200)
committerkiramt <k.mourao@dundee.ac.uk>
Mon, 31 Jul 2017 10:01:55 +0000 (12:01 +0200)
src/jalview/appletgui/AlignmentPanel.java

index 4147177..d679217 100644 (file)
@@ -643,7 +643,7 @@ public class AlignmentPanel extends Panel implements AdjustmentListener,
 
   public void setWrapAlignment(boolean wrap)
   {
-    vpRanges.setStartSeq(0);
+    vpRanges.setStartEndSeq(0, vpRanges.getVisibleAlignmentHeight());
     vpRanges.setStartRes(0);
     scalePanelHolder.setVisible(!wrap);