forked from External/mage
Merge pull request #3350 from spjspj/master
Allow sort by EDH Power level in Deck Editor
This commit is contained in:
commit
5514787871
4 changed files with 543 additions and 10 deletions
|
|
@ -422,7 +422,8 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
|
|||
CMC("Converted Mana Cost", new CardViewCostComparator()),
|
||||
COLOR("Color", new CardViewColorComparator()),
|
||||
COLOR_IDENTITY("Color Identity", new CardViewColorIdentityComparator()),
|
||||
RARITY("Rarity", new CardViewRarityComparator());
|
||||
RARITY("Rarity", new CardViewRarityComparator()),
|
||||
EDH_POWER_LEVEL("EDH Power Level", new CardViewEDHPowerLevelComparator());
|
||||
|
||||
Sort(String text, Comparator<CardView> comparator) {
|
||||
this.comparator = comparator;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue