forked from External/mage
GUI, deck: now a duplicated cards adds to the same place as original cards (close #3314);
This commit is contained in:
parent
8364271c31
commit
8b4c722ae2
2 changed files with 29 additions and 15 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue