- Do not try to rotate the foil for the non-current zoomed card since they're shown non-rotated and will break the foil effect.

This commit is contained in:
Agetian
2017-09-29 11:01:41 +00:00
parent b659833f71
commit 2152e5f731

View File

@@ -347,7 +347,7 @@ public class CardImageRenderer {
else
g.drawImage(image, x, y, w, h);
}
CardRenderer.drawFoilEffect(g, card, x, y, w, h, true);
CardRenderer.drawFoilEffect(g, card, x, y, w, h, isCurrentCard);
}
public static void drawDetails(Graphics g, CardView card, GameView gameView, boolean altState, float x, float y, float w, float h) {