From b071bd09ddaa39085176a8bc5baf29c4b2887d5f Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 15 Jun 2020 10:20:15 +0100 Subject: [PATCH] JAL-3446 breaking change redacted --- src/jalview/gui/AlignmentPanel.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index a84a468..cf45483 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -608,13 +608,12 @@ public class AlignmentPanel extends GAlignmentPanel implements */ public void updateLayout() { - // BH 2020.06.09 avoiding negative values for SequencePanel and SeqCanvas - // dimensions. - - if (getTopLevelAncestor() == null) - return; + // BH 2020.06.09 avoid negative values for SequencePanel and SeqCanvas dimensions +// if (getTopLevelAncestor() == null) +// { +// return; +// } - ViewportRanges ranges = av.getRanges(); fontChanged(); setAnnotationVisible(av.isShowAnnotation()); -- 1.7.10.2