From: James Procter Date: Sun, 1 Oct 2023 19:06:28 +0000 (+0100) Subject: JAL-244 ensure background is completely filled with white X-Git-Tag: Release_2_11_4_0~143^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9366429b10f6d8a664eff010e86af318230c246e;p=jalview.git JAL-244 ensure background is completely filled with white --- 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) */