From 9366429b10f6d8a664eff010e86af318230c246e Mon Sep 17 00:00:00 2001 From: James Procter Date: Sun, 1 Oct 2023 20:06:28 +0100 Subject: [PATCH] JAL-244 ensure background is completely filled with white --- src/jalview/gui/AlignmentPanel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index ae561e7..3127731 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -1051,6 +1051,9 @@ public class AlignmentPanel extends GAlignmentPanel implements } final int alignmentDrawnHeight = (endSeq - startSeq) * charHeight + 3; + alignmentGraphics.setColor(Color.white); + alignmentGraphics.fillRect(0, 0, pageWidth, pageHeight+scaleHeight); + /* * draw the Scale at horizontal offset, then reset to top left (0, 0) */ -- 1.7.10.2