mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Merge pull request #4430 from spjspj/master
Fix M15 colors for GW (was WG), GU (was UG), RW (was WR)
This commit is contained in:
commit
8db20dbe8d
2 changed files with 73 additions and 24 deletions
|
|
@ -1127,7 +1127,7 @@ public class ModernCardRenderer extends CardRenderer {
|
|||
protected static Paint getBorderPaint(ObjectColor colors, Collection<CardType> types, int width) {
|
||||
if (colors.isMulticolored()) {
|
||||
if (colors.getColorCount() == 2) {
|
||||
List<ObjectColor> twoColors = colors.getColors();
|
||||
List<ObjectColor> twoColors = colors.getTwoColorsInOrder();
|
||||
|
||||
// Two-color frames look better if we use a whiter white
|
||||
// than the normal white frame color for them, as the normal
|
||||
|
|
@ -1203,7 +1203,7 @@ public class ModernCardRenderer extends CardRenderer {
|
|||
protected static Paint getTextboxPaint(ObjectColor colors, Collection<CardType> types, int width) {
|
||||
if (colors.isMulticolored()) {
|
||||
if (colors.getColorCount() == 2) {
|
||||
List<ObjectColor> twoColors = colors.getColors();
|
||||
List<ObjectColor> twoColors = colors.getTwoColorsInOrder();
|
||||
Color[] translatedColors;
|
||||
if (types.contains(CardType.LAND)) {
|
||||
translatedColors = new Color[]{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue