From 67c07ecefcd5ea7bf43edabc1c8a7c6da978f6a1 Mon Sep 17 00:00:00 2001 From: spjspj Date: Sun, 12 Sep 2021 00:49:00 +1000 Subject: [PATCH] Update for Full Art Face art. --- .../java/org/mage/card/arcane/ModernSplitCardRenderer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/ModernSplitCardRenderer.java b/Mage.Client/src/main/java/org/mage/card/arcane/ModernSplitCardRenderer.java index 03f29d8fe5..1d56ecde61 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/ModernSplitCardRenderer.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/ModernSplitCardRenderer.java @@ -223,7 +223,7 @@ public class ModernSplitCardRenderer extends ModernCardRenderer { protected void drawSplitHalfFrame(Graphics2D g, CardPanelAttributes attribs, HalfCardProps half, int typeLineY) { // Get the border paint Color boxColor = getBoxColor(half.color, cardView.getCardTypes(), attribs.isTransformed); - Paint textboxPaint = getTextboxPaint(half.color, cardView.getCardTypes(), cardWidth); + Paint textboxPaint = getTextboxPaint(half.color, cardView.getCardTypes(), cardWidth, false); Paint borderPaint = getBorderPaint(half.color, cardView.getCardTypes(), cardWidth); // Draw main frame @@ -299,7 +299,7 @@ public class ModernSplitCardRenderer extends ModernCardRenderer { } @Override - protected void drawFrame(Graphics2D g, CardPanelAttributes attribs, BufferedImage image) { + protected void drawFrame(Graphics2D g, CardPanelAttributes attribs, BufferedImage image, boolean lessOpaqueRulesTextBox) { if (isAftermath()) { drawSplitHalfFrame(getUnmodifiedHalfContext(g), attribs, leftHalf, (int) (leftHalf.ch * TYPE_LINE_Y_FRAC)); drawSplitHalfFrame(getAftermathHalfContext(g), attribs, rightHalf, (rightHalf.ch - boxHeight) / 2); @@ -309,7 +309,7 @@ public class ModernSplitCardRenderer extends ModernCardRenderer { if (isFuse()) { Graphics2D g2 = getRightHalfContext(g); int totalFuseBoxWidth = rightHalf.cw * 2 + 2 * borderWidth + dividerSize; - Paint boxColor = getTextboxPaint(cardView.getColor(), ONLY_LAND_TYPE, totalFuseBoxWidth); + Paint boxColor = getTextboxPaint(cardView.getColor(), ONLY_LAND_TYPE, totalFuseBoxWidth, false); Paint borderPaint = getBorderPaint(cardView.getColor(), ONLY_LAND_TYPE, totalFuseBoxWidth); CardRendererUtils.drawRoundedBox(g2, -borderWidth, rightHalf.ch,