Fixed a problem that a chang of the card offset value in preferences was not immediately applied to the card selector in deck editor.

This commit is contained in:
LevelX2 2016-03-09 12:26:35 +01:00
parent 4f8a3e5ae8
commit 7ac679048c

View file

@ -183,6 +183,9 @@ public class CardSelector extends javax.swing.JPanel implements ComponentListene
public void changeGUISize() {
setGUISize();
cardGrid.changeGUISize();
if (currentView instanceof CardGrid) {
this.currentView.drawCards(sortSetting);
}
}
private void setGUISize() {