mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Fixed Issue 15: Graveyard card list becomes unavailable
This commit is contained in:
parent
a130286a3d
commit
55957f17a0
1 changed files with 3 additions and 2 deletions
|
|
@ -72,8 +72,9 @@ public class ShowCardsDialog extends MageDialog implements MouseListener {
|
|||
else
|
||||
loadCardsMany(showCards, bigCard, dimension, gameId);
|
||||
cardArea.revalidate();
|
||||
if (getParent() != MageFrame.getDesktop() || this.isClosed)
|
||||
MageFrame.getDesktop().add(this, JLayeredPane.PALETTE_LAYER);
|
||||
if (getParent() != MageFrame.getDesktop() /*|| this.isClosed*/) {
|
||||
MageFrame.getDesktop().add(this, JLayeredPane.POPUP_LAYER);
|
||||
}
|
||||
pack();
|
||||
this.revalidate();
|
||||
this.repaint();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue