JAL-244 ensure background is completely filled with white
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index ae561e7..3127731 100644 (file)
@@ -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)
      */