From 48b66ead4b6883a975e79e4528d525d85c69f1ad Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 26 Jun 2018 17:57:05 +0100 Subject: [PATCH] JAL-3032 don't draw AlphaComposite.Clear on background --- src/jalview/renderer/OverviewRenderer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.2