* Some changes to distance calculation of enchantments on the battlefield. Added minimal permanet size preference setting (not working correctly yet).

This commit is contained in:
LevelX2 2016-07-01 15:08:40 +02:00
parent 541e6a7f9b
commit 3b0f7b074f
6 changed files with 519 additions and 248 deletions

View file

@ -128,7 +128,7 @@ public class BattlefieldPanel extends javax.swing.JLayeredPane {
private void setGUISize() {
jScrollPane.getVerticalScrollBar().setPreferredSize(new Dimension(GUISizeHelper.scrollBarSize, 0));
jScrollPane.getHorizontalScrollBar().setPreferredSize(new Dimension(0, GUISizeHelper.scrollBarSize));
cardDimension = GUISizeHelper.battlefieldCardDimension;
cardDimension = GUISizeHelper.battlefieldCardMaxDimension;
}
public void update(Map<UUID, PermanentView> battlefield) {