Fixed quest pool color option selections not getting updated properly.

This commit is contained in:
Krazy
2015-06-06 17:56:47 +00:00
parent 47093d857d
commit fc0e527877
4 changed files with 14 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ public class NewQuestScreen extends FScreen {
}
obj.setBounds(xAdjustment, y, visWidth, h); //make label take up half of line so combo boxes all the same width
x += obj.getWidth();
if (colorBoxCount == 3 || colorBoxCount == 6) {
if (colorBoxCount % 3 == 0) {
y += h + gapY;
x = PADDING;
}
@@ -228,7 +228,7 @@ public class NewQuestScreen extends FScreen {
cbRed.setEnabled(radBalanced.isSelected());
cbWhite.setEnabled(radBalanced.isSelected());
cbColorless.setEnabled(radBalanced.isSelected());
cbIncludeArtifacts.setEnabled(radBalanced.isSelected());
cbIncludeArtifacts.setEnabled(!radSurpriseMe.isSelected());
}
};