mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48: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:
@@ -222,7 +222,7 @@ public class CardArea extends CardPanelContainer implements CardPanelMouseListen
|
||||
this.getParent().validate();
|
||||
}
|
||||
|
||||
super.doLayout();
|
||||
super.doLayout();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -297,6 +297,7 @@ public abstract class CardPanelContainer extends SkinnedPanel {
|
||||
remove(fromPanel);
|
||||
invalidate();
|
||||
repaint();
|
||||
this.doLayout();
|
||||
}
|
||||
|
||||
public final void setCardPanels(final List<CardPanel> cardPanels) {
|
||||
|
||||
Reference in New Issue
Block a user