Modified logic that decides when the popup window will be enlarged.

This commit is contained in:
LevelX2 2014-11-28 09:13:28 +01:00
parent a398b82e09
commit 4262850553

View file

@ -69,7 +69,7 @@ public class CardInfoPaneImpl extends JEditorPane implements CardInfoPane {
if (container == null) { if (container == null) {
return; return;
} }
boolean makeBig = (rules > 5 || ruleLength > 450); boolean makeBig = (rules > 5 || ruleLength > 350);
if (makeBig && type == 0) { if (makeBig && type == 0) {
type = 1; type = 1;
container.setSize( container.setSize(