GUI: Card Viewer - fixed wrong drawing on empty cards/tokens list;

This commit is contained in:
Oleg Agafonov 2024-01-31 03:45:47 +04:00
parent 2d50b85c06
commit f5a43d9115

View file

@ -337,9 +337,8 @@ public class MageBook extends JComponent {
addItem(needItems.get(i), rectangle);
rectangle = CardPosition.translatePosition(i - conf.CARDS_PER_PAGE / 2, rectangle, conf);
}
jLayeredPane.repaint();
}
jLayeredPane.repaint();
}
private void addItem(Object item, Rectangle position) {