GUI, deck: now a duplicated cards adds to the same place as original cards (close #3314);

This commit is contained in:
Oleg Agafonov 2025-05-24 01:08:46 +04:00
parent 8364271c31
commit 8b4c722ae2
2 changed files with 29 additions and 15 deletions

View file

@ -110,7 +110,7 @@ public class DeckArea extends javax.swing.JPanel {
sideboardList.deselectAll();
for (CardView card : cards) {
CardView newCard = new CardView(card);
deckList.addCardView(newCard, true);
deckList.addCardView(newCard, card);
}
}
@ -150,7 +150,7 @@ public class DeckArea extends javax.swing.JPanel {
deckList.deselectAll();
for (CardView card : cards) {
CardView newCard = new CardView(card);
sideboardList.addCardView(newCard, true);
sideboardList.addCardView(newCard, card);
}
}