From 230930d6c4a972216f28dfd34c071bf3e83d8010 Mon Sep 17 00:00:00 2001 From: kiramt Date: Mon, 31 Jul 2017 12:01:55 +0200 Subject: [PATCH] JAL-2634 Make overview box full height when alignment is wrapped --- src/jalview/appletgui/AlignmentPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/appletgui/AlignmentPanel.java b/src/jalview/appletgui/AlignmentPanel.java index 4147177..d679217 100644 --- a/src/jalview/appletgui/AlignmentPanel.java +++ b/src/jalview/appletgui/AlignmentPanel.java @@ -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); -- 1.7.10.2