mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
[cl.viewer] repaint fix
This commit is contained in:
parent
5c10e54b7d
commit
128a6600af
1 changed files with 2 additions and 0 deletions
|
|
@ -204,6 +204,8 @@ public class MageBook extends JComponent {
|
||||||
addCard(new CardView(cards.get(i)), bigCard, null, rectangle);
|
addCard(new CardView(cards.get(i)), bigCard, null, rectangle);
|
||||||
rectangle = CardPosition.translatePosition(i - CARDS_PER_PAGE / 2, rectangle);
|
rectangle = CardPosition.translatePosition(i - CARDS_PER_PAGE / 2, rectangle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jLayeredPane.repaint();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addCard(CardView card, BigCard bigCard, UUID gameId, Rectangle rectangle) {
|
private void addCard(CardView card, BigCard bigCard, UUID gameId, Rectangle rectangle) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue