forked from External/mage
added some missing session references
This commit is contained in:
parent
1b5d697b33
commit
71398d6d83
7 changed files with 28 additions and 16 deletions
|
|
@ -149,7 +149,7 @@ public class CardGrid extends javax.swing.JLayeredPane implements MouseListener,
|
|||
int numColumns = maxWidth / cardDimension.width;
|
||||
int curColumn = 0;
|
||||
int curRow = 0;
|
||||
if (cards.size() > 0) {
|
||||
if (!cards.isEmpty()) {
|
||||
Rectangle rectangle = new Rectangle(cardDimension.width, cardDimension.height);
|
||||
List<MageCard> sortedCards = new ArrayList<>(cards.values());
|
||||
switch (sortSetting.getSortBy()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue