forked from External/mage
Finished the new Drag & Drop deck view. It is currently implemented in main deck editor, and limited deck construction.
Still to do: * Integrate it into the draft view
This commit is contained in:
parent
56a3c6dc8c
commit
615b93f8c3
16 changed files with 455 additions and 91 deletions
|
|
@ -128,7 +128,7 @@ public class DraftGrid extends javax.swing.JPanel implements MouseListener {
|
|||
List<CardView> sortedCards = new ArrayList<>(booster.values());
|
||||
Collections.sort(sortedCards, new CardViewRarityComparator());
|
||||
for (CardView card: sortedCards) {
|
||||
MageCard cardImg = Plugins.getInstance().getMageCard(card, bigCard, dimension, null, true);
|
||||
MageCard cardImg = Plugins.getInstance().getMageCard(card, bigCard, dimension, null, true, true);
|
||||
cardImg.addMouseListener(this);
|
||||
add(cardImg);
|
||||
cardImg.update(card);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue