mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fixed quest pool color option selections not getting updated properly.
This commit is contained in:
@@ -49,7 +49,7 @@ public enum CSubmenuQuestData implements ICDoc {
|
||||
}
|
||||
};
|
||||
|
||||
List<Byte> preferredColors = new ArrayList<>();
|
||||
private List<Byte> preferredColors = new ArrayList<>();
|
||||
private PoolType poolType = PoolType.BALANCED;
|
||||
private boolean includeArtifacts = true;
|
||||
|
||||
|
||||
@@ -133,9 +133,19 @@ public class DialogChooseColors {
|
||||
cbxRed.setEnabled(radBalanced.isSelected());
|
||||
cbxWhite.setEnabled(radBalanced.isSelected());
|
||||
cbxColorless.setEnabled(radBalanced.isSelected());
|
||||
cbxArtifacts.setEnabled(!radSurpriseMe.isSelected());
|
||||
}
|
||||
};
|
||||
|
||||
clearColors.setEnabled(radBalanced.isSelected());
|
||||
cbxBlack.setEnabled(radBalanced.isSelected());
|
||||
cbxBlue.setEnabled(radBalanced.isSelected());
|
||||
cbxGreen.setEnabled(radBalanced.isSelected());
|
||||
cbxRed.setEnabled(radBalanced.isSelected());
|
||||
cbxWhite.setEnabled(radBalanced.isSelected());
|
||||
cbxColorless.setEnabled(radBalanced.isSelected());
|
||||
cbxArtifacts.setEnabled(!radSurpriseMe.isSelected());
|
||||
|
||||
radBalanced.setToolTipText("A balanced distribution will provide a roughly equal number of cards in each selected color.");
|
||||
radRandom.setToolTipText("A random distribution will be almost entirely randomly selected. This ignores any color selections.");
|
||||
radSurpriseMe.setToolTipText("This is the same as a balanced distribution, except the colors picked will be random and you will not be told what they are.");
|
||||
|
||||
Reference in New Issue
Block a user