forked from External/mage
gui: deck editor - improved popup menu naming, added commander hint to sideboard, fixed generate/random deck dialog on cancel, removed outdated logs;
This commit is contained in:
parent
ec34380bed
commit
b315b46871
6 changed files with 23 additions and 18 deletions
|
|
@ -80,6 +80,7 @@ public class DeckArea extends javax.swing.JPanel {
|
|||
deckList.setRole(DragCardGrid.Role.MAINDECK);
|
||||
sideboardList.setRole(DragCardGrid.Role.SIDEBOARD);
|
||||
|
||||
// card actions in main
|
||||
// When a selection happens in one pane, deselect the selection in the other
|
||||
deckList.addDragCardGridListener(new DragCardGrid.DragCardGridListener() {
|
||||
@Override
|
||||
|
|
@ -121,6 +122,8 @@ public class DeckArea extends javax.swing.JPanel {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
// card actions in sideboard
|
||||
sideboardList.addDragCardGridListener(new DragCardGrid.DragCardGridListener() {
|
||||
@Override
|
||||
public void cardsSelected() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue