JAL-3032 don't draw AlphaComposite.Clear on background
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 26 Jun 2018 16:57:05 +0000 (17:57 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 26 Jun 2018 16:57:05 +0000 (17:57 +0100)
src/jalview/renderer/OverviewRenderer.java

index e9b4de4..c9096e2 100644 (file)
@@ -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);