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:
Oleg Agafonov 2024-03-08 00:48:01 +04:00
parent ec34380bed
commit b315b46871
6 changed files with 23 additions and 18 deletions

View file

@ -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() {