mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
commit
202b40a449
1 changed files with 2 additions and 2 deletions
|
@ -401,6 +401,7 @@ public class MageBook extends JComponent {
|
||||||
cardDimension = new Dimension(Config.dimensions.frameWidth, Config.dimensions.frameHeight);
|
cardDimension = new Dimension(Config.dimensions.frameWidth, Config.dimensions.frameHeight);
|
||||||
}
|
}
|
||||||
PermanentToken newToken = new PermanentToken(token, null, token.getOriginalExpansionSetCode(), null);
|
PermanentToken newToken = new PermanentToken(token, null, token.getOriginalExpansionSetCode(), null);
|
||||||
|
newToken.removeSummoningSickness();
|
||||||
PermanentView theToken = new PermanentView(newToken, null, null, null);
|
PermanentView theToken = new PermanentView(newToken, null, null, null);
|
||||||
theToken.setInViewerOnly(true);
|
theToken.setInViewerOnly(true);
|
||||||
final MageCard cardImg = Plugins.instance.getMagePermanent(theToken, bigCard, cardDimension, gameId, true);
|
final MageCard cardImg = Plugins.instance.getMagePermanent(theToken, bigCard, cardDimension, gameId, true);
|
||||||
|
@ -650,7 +651,7 @@ public class MageBook extends JComponent {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateSize(String size) {
|
public void updateSize(String size){
|
||||||
switch (size) {
|
switch (size) {
|
||||||
case LAYOUT_3x3:
|
case LAYOUT_3x3:
|
||||||
this.conf = new _3x3Configuration();
|
this.conf = new _3x3Configuration();
|
||||||
|
@ -667,7 +668,6 @@ public class MageBook extends JComponent {
|
||||||
setPreferredSize(new Dimension(conf.WIDTH, conf.HEIGHT));
|
setPreferredSize(new Dimension(conf.WIDTH, conf.HEIGHT));
|
||||||
setMinimumSize(new Dimension(conf.WIDTH, conf.HEIGHT));
|
setMinimumSize(new Dimension(conf.WIDTH, conf.HEIGHT));
|
||||||
addSetTabs();
|
addSetTabs();
|
||||||
showCards();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue