- 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:
Agetian
2017-01-15 07:28:47 +00:00
parent f9c5947ab9
commit e46dd5ae69
2 changed files with 2 additions and 1 deletions

View File

@@ -222,7 +222,7 @@ public class CardArea extends CardPanelContainer implements CardPanelMouseListen
this.getParent().validate();
}
super.doLayout();
super.doLayout();
}
@Override

View File

@@ -297,6 +297,7 @@ public abstract class CardPanelContainer extends SkinnedPanel {
remove(fromPanel);
invalidate();
repaint();
this.doLayout();
}
public final void setCardPanels(final List<CardPanel> cardPanels) {