From cc1f03fc948c149cc3750556517f9075d59eb46e Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Wed, 23 Oct 2019 12:57:36 +0800 Subject: [PATCH] Update --- forge-gui-mobile/src/forge/card/CardRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui-mobile/src/forge/card/CardRenderer.java b/forge-gui-mobile/src/forge/card/CardRenderer.java index ac94b7b2b51..113a7176796 100644 --- a/forge-gui-mobile/src/forge/card/CardRenderer.java +++ b/forge-gui-mobile/src/forge/card/CardRenderer.java @@ -1124,7 +1124,7 @@ public class CardRenderer { public static void drawFoilEffect(Graphics g, CardView card, float x, float y, float w, float h, boolean inZoomer) { float new_x = x; float new_y = y; float new_w = w; float new_h = h; float radius = (h - w)/8; if (Forge.enableUIMask) { - new_x += radius/2.4f; new_y += radius/2; new_w *= 0.96f; new_h += 0.96f; + new_x += radius/2.4f; new_y += radius/2; new_w = w * 0.96f; new_h = h * 0.96f; } if (isPreferenceEnabled(FPref.UI_OVERLAY_FOIL_EFFECT) && MatchController.instance.mayView(card)) { boolean rotateSplit = isPreferenceEnabled(FPref.UI_ROTATE_SPLIT_CARDS) && card.isSplitCard() && inZoomer;