mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Do not forget to relayout cards on removing a card panel (fixes targeting overlay problems and possibly other "lingering layouting issues".
This commit is contained in:
@@ -297,6 +297,7 @@ public abstract class CardPanelContainer extends SkinnedPanel {
|
|||||||
remove(fromPanel);
|
remove(fromPanel);
|
||||||
invalidate();
|
invalidate();
|
||||||
repaint();
|
repaint();
|
||||||
|
this.doLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void setCardPanels(final List<CardPanel> cardPanels) {
|
public final void setCardPanels(final List<CardPanel> cardPanels) {
|
||||||
|
|||||||
Reference in New Issue
Block a user