From: gmungoc Date: Tue, 26 Jun 2018 16:57:05 +0000 (+0100) Subject: JAL-3032 don't draw AlphaComposite.Clear on background X-Git-Tag: Release_2_11_4_0~45^2~18^2~629^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=48b66ead4b6883a975e79e4528d525d85c69f1ad;p=jalview.git JAL-3032 don't draw AlphaComposite.Clear on background --- diff --git a/src/jalview/renderer/OverviewRenderer.java b/src/jalview/renderer/OverviewRenderer.java index e9b4de4..c9096e2 100644 --- a/src/jalview/renderer/OverviewRenderer.java +++ b/src/jalview/renderer/OverviewRenderer.java @@ -288,8 +288,8 @@ public class OverviewRenderer Graphics2D g2d = (Graphics2D) hiddenImage.getGraphics(); // set background to transparent - g2d.setComposite(AlphaComposite.Clear); - g2d.fillRect(0, 0, width, height); + // g2d.setComposite(AlphaComposite.Clear); + // g2d.fillRect(0, 0, width, height); // set next colour to opaque g2d.setComposite(AlphaComposite.Src);