mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
GUI: Card Viewer - fixed wrong drawing on empty cards/tokens list;
This commit is contained in:
parent
2d50b85c06
commit
f5a43d9115
1 changed files with 1 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue