GUI: fixed wrong background rendering of card's popup window (related to #12261), deleted un-used code;

This commit is contained in:
Oleg Agafonov 2024-05-20 23:19:41 +04:00
parent 492269c473
commit 1b5f8ce1af
4 changed files with 5 additions and 11 deletions

View file

@ -438,7 +438,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
return;
}
cardInfoPane.setLocation(40, 40);
cardInfoPane.setBackground(new Color(0, 0, 0, 0));
cardInfoPane.setBackground(new Color(0, 0, 0, 255)); // use non-transparent background to full draw, see bug example in #12261
UI.addComponent(MageComponents.CARD_INFO_PANE, cardInfoPane);
MageRoundPane popupContainer = new MageRoundPane();