mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Temporary fix for quest challenges.
This commit is contained in:
@@ -27,6 +27,7 @@ import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import javax.swing.JScrollPane;
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
import forge.Card;
|
||||
import forge.view.arcane.util.CardPanelMouseListener;
|
||||
@@ -244,8 +245,12 @@ public class PlayArea extends CardPanelContainer implements CardPanelMouseListen
|
||||
}
|
||||
this.setPreferredSize(new Dimension(maxRowWidth - this.cardSpacingX, y - this.cardSpacingY));
|
||||
this.revalidate();
|
||||
|
||||
positionAllCards();
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
positionAllCards();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void positionAllCards()
|
||||
|
||||
Reference in New Issue
Block a user