From 626efcf82a9d84060616dde42a857b8971c9c2ba Mon Sep 17 00:00:00 2001 From: hansonr Date: Sun, 24 Jun 2018 08:11:53 +0100 Subject: [PATCH] AlignmentFrame opacity set to TRUE for JavaScript. This seems to be some sort of JavaScript fluke, because if you set the background color of an internal div to opaque but then set the background color of that div's parent to transparent, then it goes transparent. --- src/jalview/gui/Desktop.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index fc95f83..c08c64e 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -880,7 +880,8 @@ public class Desktop extends jalview.jbgui.GDesktop frame.setResizable(resizable); frame.setMaximizable(resizable); frame.setIconifiable(resizable); - frame.setOpaque(false); + frame.setOpaque(/** @j2sNative true || */ + false); if (frame.getX() < 1 && frame.getY() < 1) { -- 1.7.10.2