forked from External/mage
DeckEditor: draft mode, removing card for cardpool and no possibility to return card back.
This commit is contained in:
parent
100a0a54e1
commit
e45efd0527
2 changed files with 8 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ public class CardGrid extends javax.swing.JLayeredPane implements MouseListener
|
|||
resizeArea();
|
||||
}
|
||||
|
||||
private void removeCard(UUID cardId) {
|
||||
public void removeCard(UUID cardId) {
|
||||
for (Component comp: getComponents()) {
|
||||
if (comp instanceof Card) {
|
||||
if (((Card)comp).getCardId().equals(cardId)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue